Varkon MBS Programmers manual
Searces a string for the occurence of another string and returns the location.
pos:=finds(s1, s2); int pos; string s1; string s2;
s1 | - The string to search in. |
s2 | - The string to search for. |
None.
An INT value equal to the start position of s2 in s1. A value of zero is returned if s2 is not found in s1.
pos:=finds("ABCDE","CD"); ! Equal to pos:=3; pos:=finds("ABCDE","P"); ! Equal to pos:=0;
Varkon 1.19D svn # 120M