HiLMAs reference
Back

String Handling

Next

SUBSTR

SUBSTR substring,string,start[,length]

 

Description

A substring is extracted by string from position delimited by start and length.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 substring Output String C or X Result of extraction; max length 255 char.
2 string Input String C or X String by which extract; max length 255 char.
3 start Input Integer F or H or const. Start inside 2nd parameter; first character has position 1
4 length Input Integer F or H or const. If omitted, extraction is to end of string

 

Examples

 


Back Start Next
PARSE Top DELSTR