INT %FindStr( TEXT in Text, TEXT in subText BOOL in direction := @TRUE ) |
text | Text, which is to be searched. |
subText | Text to search. |
direction | @TRUE - searching from the text beginning. @FALSE - searching from the text end. |
%FindStr("text some text", "text") ; returns the value of 1 %FinsStr("text some text", "text", @TRUE) ; returns the value of 1 %findStr("text some text", "text", @FALSE) ; returns the value of 13 |