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.

spattern.search

Search a pattern in another string. Before search start-up, call the spattern.init method in order to initialize the search pattern.

method uint spattern.search (
   buf src,
   uint offset
)

Parameters

src String where the specified string will be searched (search pattern).
offset Offset where the search must be started or proceeded.

Return value

The offset of the found fragment. If the offset is equal to string size,no fragment is found.


spattern.search

Search a pattern in a memory data.

method uint spattern.search (
   uint ptr,
   uint size
)

Parameters

ptr The pointer to the memory data where the pattern will be searched.
size The size of the memory data.

Return value

The offset of the found fragment. If the offset is equal to string size,no fragment is found.


spattern.search

Search a pattern in another string.

method uint spattern.search (
   str src,
   uint offset
)

Parameters

src String where the specified string will be searched (search pattern).
offset Offset where the search must be started or proceeded.

Return value

The offset of the found fragment. If the offset is equal to string size,no fragment is found.

Related links

Source