SUBSTR
Extracts a part of a string.
Syntax
string SUBSTR(string value, int start, int num)
string SUBSTR(string value, int start)
Input
Object | Data Type | Description |
---|---|---|
value | String | The original string to look in. |
start | Integer | The number identifying the position in the string to start from. |
num | Integer | The number of letters to take from the start position. |
Example
SUBSTR("Account",2,4)
Will return "coun".