EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

str.search

Substring search. The method determines if the string has been found inside another string or not.

method uint str.search (
   str pattern,
   uint flag
)

Parameters

pattern Search string (pattern).
flag Search flags.
$QS_IGNCASECase-insensitive search.
$QS_WORDSearch the whole word only.
$QS_BEGINWORDSearch words which start with the specified pattern.

Return value

The method returns 1 if the substring is found, otherwise the return value is zero.

Related links

Source