Previousfirst Up

DBCScharacterarray Method firstIndexOf

Return the index character position of the first 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