str.pos

Index (0 = first character) of the first occurrence of str in source, or na when it does not occur.

str.pos(source: string, str: string) -> int

Parameters

Example

str.pos("ESZ6", "Z")