...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfFindFirstCharInString (str : STRING;
char : STRING(1) FIXED)
indexOfMatchingChar : INTEGER;
|
The function xpfFindFirstCharInString searches the string str for the first first occurance of the character char. If char is found in str then the index of the character char in str is returned as the function value. If char is not found in str zero is the returned function value.
Arguments
...
Type | Name | Comment |
...
STRING | str | Input string |
STRING(1) FIXED | char | The character to be searched for |
Return Value
...
Type | Name | Comment |
INTEGER | indexOfMatchingChar | Index of the first occurrence of the given character |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|