...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxFindLastCharInString (str : STRING;
char : STRING (1) FIXED;
VAR indexOfLastOccurrenceInString : INTEGER )
status : INTEGER;
|
The function xpxFindLastCharInString returns the index of the last occurrence of the specified character char in the string str through the argument indexOfLastOccurrenceInString (starting from one). The first character in a string have index one. The value of indexOfLastOccurrenceInString is set to zero when no occurrence of char is found in str.
Arguments
...
Type | Name | Comment |
STRING | str | String to be searched |
STRING (1) FIXED | char | The specified character used in the search |
INTEGER | indexOfLastOccurrenceInString | The index of the last occurrence of the character "char" within the string "str" |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|