Returns the substring of the current string from the start index inclusive to the end index exclusive.
SUBSTRING(value, value)
This function takes the following arguments:
First argument: Start index value.
Second argument: End index value.
String between the start and end indexes.
Supported data type
The SUBSTRING function supports the following data type:
String
Example: Return the substring of the current string, beginning with the character
at the start index number and ending prior to the character of the end index number.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["The `SUBSTRING` function extracts a portion of a string based on specified start and end index values."],["It requires two arguments: the start index and the end index, to define the substring boundaries."],["The function's input and output are limited to the String data type."],["For example, `\"$var1$.SUBSTRING(1, 5)` on the string `HelloApigee` will result in the output being `ello`."]]],[]]