Returns the substring of the given string, starting at the specified index.
Syntax
Smartsite SXML | Copy Code |
---|---|
string string.substring(string data, integer startIndex) string string.substring(string data, integer startIndex, integer length) |
Parameters
Name | Data Type | Description |
---|---|---|
data | String | The input string. |
startIndex | Integer | The start index. |
length | Integer | The length. |
Return Value
Data Type | Description |
---|---|
String | Substring that begins at the specified start index. |