__strFind
In this section:
Syntax
__strFind(macroString,pattern,position)
Parameters
macroStringA macro string.
patternThe string pattern to search for
positionThe position where to start the search. The first position is
0
Return value
The position where the pattern was found or -1 if the string is not found.
For use with
All C-SPY drivers.
Description
This macro searches a given string (macroString) for the occurrence of another string (pattern).
Example
__strFind("Compiler", "pile", 0) = 3
__strFind("Compiler", "foo", 0) = -1