Description
The subString function returns the substring between the specified start and end positions of the input string string. The start parameter specifies the beginning of the substring, and the end parameter specifies the number of characters from the start position to extract.
Syntax
subString(string, start[, end])
Arguments
| Argument | Description |
|---|---|
| string | The input string from which a part is to be extracted. |
| start | The start position within the string. Counting starts at 1. |
| end (optional) | The number of characters to extract from the start position. If end is not specified, the input string is returned up to the start position. |
Return Types
The function returns the extracted substring based on the specified start and end positions.
Examples
subString("Ein Eis bitte", 4, 3) = "Eis"
subString("Ein Eis bitte", 2) = "Ei"
Comments
0 comments
Please sign in to leave a comment.