standard.lib.str.Pos

Pos is available since version 1.0.

Prototype:

number Pos(string str, string sub_string)

Description:

Searches a string for a sub string using the Boyer-Moore algorithm.

Return value:

Returns the position at witch the sub string is encountered in the string + 1; If 0, then the string is not contained.