![]() ![]() ![]() ![]() | Table Of Contents | Index |
The difference between PosInListPartial and PosInListLeft is that PosInListPartial will match anywhere in the string, and PosInListLeft will match only if the string starts with the search string.
Example:You can also pass two numbers to PosInListLeft which define the start and end positions in the list to search.
var List List[1] = 'Date=09-20-93' List[2] = 'Time=10:18' List[3] = 'Name=Marc' Writeln PosInListLeft('Name=',List) ; returns 3
Example:
Writeln PosInListLeft('Name=",List,2,3) ;returns 3
See Also: | PosInList | PosInListPartial | PosInSortedList |
---|
Category: | String | Array |
---|
![]() ![]() ![]() ![]() | Table Of Contents | Index |
|