Previouslast Up

DBCScharacterarray Method lastIndexOf

Return the index character position of the last occurrence of lnkCharacter within the DBCS Character Array after the lnkStartCharIndexPosition and before lnkEndCharIndexPosition.

If lnkCharacter is not found within the specified character index ranges, then return zero.

Using Parameters
lnkCharacter PIC XX
lnkStartCharIndexPosition PIC S9(9) COMP-5
lnkEndCharIndexPosition PIC S9(9) COMP-5
Returning Parameter
lnkCharIndexPosition PIC S9(9) COMP-5