Get the substring of from a string starting at a given index.
Declaration
SUBSTRING(base_string, start, end) -> substring
SUBSTRING(base_string, start) -> substring
Parameters
- base_string (type: string)
- The base string to pull the substring out of.
- start (type: number)
- Number value for the start position.
- end (type: number)
- End index to end the substring, if not provided it will take to the end of the string.
Return Values
- substring (type: string)
- The resulting substring taken from the baseString starting at the start index and ending at the end index or the end of the baseString.
0
0
Was this article helpful?
0 out of 0 found this helpful
Add comment
Please sign in to leave a comment.