Substring
Returns the portion of the specified string starting with the specified character position and no longer than the specified length. If the specified character position exceeds the length of the specified string, the function returns an empty string.
Substring(1, 2, 3)
Ordinal | Type | Description | |
---|---|---|---|
1 | string | Required | Initial string value |
2 | numeric | Required | Character position used to begin substring |
3 | numeric | Maximum length of substring |
System returns: