xpxFindLastCharInString

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


TypeNameComment
STRINGstrString to be searched
STRING (1) FIXEDcharThe specified character used in the search
INTEGERindexOfLastOccurrenceInStringThe index of the last occurrence of the character "char" within the string "str"

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â