Function Substr
Gets part of a string value
Substr([VALUE],[START_INDEX],[LENGTH])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | VALUE | The value to check |
| 2 | integer | required | 1 | START_INDEX | The index in the string to start at (1+) |
| 3 | integer | required | n/a | LENGTH | The length of the string from the start index to return |
Returns
The string part
Examples
Example of getting part of a string
{{Substr("MyValue",2,2)}}
Will return yV
