pos

Syntax

%pos(searchstring,source)

Description

Returns the byte position of searchstring within source, where the first position is numbered 0. Returns %null% if searchstring is not found.

Example

%pos(c,abcde)
2

%equal(%pos(f,abcde),%null%)
T