Previoushash Up

CharacterArray Method indexOfSubCollection

Search through this instance starting at position lnkStartCharIndexPosition, looking for the first occurrence of the contents of lnkSearchCharacterArray. If the search is sucessful, then the index of lnkSearchCharacterArray within this instance is returned in lnkCharIndexPosition. If unsuccessful, zero is returned.

Using Parameters
lnkSearchCharacterArray OBJECT
lnkStartCharIndexPosition PIC S9(9) COMP-5
Returning Parameter
lnkCharIndexPosition PIC S9(9) COMP-5