Skip to main content

SUBSTR

Extracts a part of a string.

Syntax

string SUBSTR(string value, int start, int num)
string SUBSTR(string value, int start)

Input

ObjectData TypeDescription
valueStringThe original string to look in.
startIntegerThe number identifying the position in the string to start from.
numIntegerThe number of letters to take from the start position.

Example

SUBSTR("Account",2,4)

Will return "coun".