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.find...

Find the character in the string.

method uint str.findch (
   uint offset,
   uint symbol,
   uint fromend
)

Parameters

offset The offset to start searching from.
symbol Search character.
fromend If it equals 1, the search will be carried out from the end of the string.

Return value

The offset of the character if it is found. If the character is not found, the length of the string is returned.


str.findch

Find the character from the beginning of the string.

method uint str.findch (
   uint symbol
)

Parameters

symbol Search character.

str.findchr

Find the character from the end of the string.

method uint str.findchr (
   uint symbol
)

Parameters

symbol Search character.

str.findchfrom

Find the character from the specified offset in the string.

method uint str.findchfrom (
   uint symbol,
   uint offset
)

Parameters

symbol Search character.
offset The offset to start searching from.

str.findchnum

Find the #glt(i) character in the string.

method uint str.findchnum (
   uint symbol,
   uint i
)

Parameters

symbol Search character.
i The number of the character starting from 1.

Related links

Source