changequote({,}) define({_TITLE_},{Varkon MBS Programmers manual}) define({_SUBTITLE_},{- finds - Function}) define({_INDEXLINK_},{index}) define({_STYLE_},{../varkonstyle.css}) include(../../include/header.inc)
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;include(../../include/svnversion.inc) include(../../include/footer.inc)