Declaration:
int Search(char text[], int in_block=0);
Description
Searches for text text. The search area is defined by the in_block parameter: if it is 0, the search will be performed in the whole text, otherwise, in the marked block only.
The search is always performed from the cursor position.
The search options are defined by the CaseSensitive, WholeWords and RegularExpressions built-in variables.
If text is found, then Search will return 1, otherwise it will return 0. The string that was found is copied to the LastFoundString variable. This is because the found string may not be the same as the search argument
|