TeleFlow BasicScript Substr
From TeleFlow
Extracts a substring from a string value.
Syntax
- SUBSTR(string,position,number)
- string: a string value or variable.
- position: : the starting position (index) in the string. Must be numeric, valid range is from 1 (the first character in the string) to the total number of characters in the string.
- number: : the number of characters to copy from the position. Must be numeric.
Related Steps
Examples
BasicScript code Result @A = SUBSTR("HELLO WORLD",7,2) WO PRINT "@A"
