SUBSTR_UDF
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
This is the user-defined function (UDF) overloaded with three parameters.
Definition
Extracts a substring from a named string based on position.
Parameters
BASE_EXPRESSION
STRING
The expression from which the substring is to be extracted.
START_POSITION
FLOAT
The starting position of the substring to extract from.
LENGTH
FLOAT
The starting position of the substring to extract from.
Returns
The required substring.
Usage example
Input:
Output:
Last updated