f$SubStr (f$TeilText)
f$SubStr (f$TeilText)
Get a sub string from out of a given string.
Hint:
Instead of this function, you can also directly use the sub string operator (e.g. "Name(1:3)").
Syntax: | Sub string = f$SubStr( Text, StartPos, EndPos ) | ||
| Argument | Type | Meaning |
| Text1 | String | String which contains the full text |
| StartPos | Integer | Starting position of the sub string to be copied |
| EndPos | Integer | Ending position of the sub string to be copied |
Result: | String | Generated sub string | |
Example: | Class = f$SubStr( 'KR345ST', 3, 5 ) → Class = '345' | ||