Function to find the position of characters in a Unicode string.

Inputs

Input

Data type

Description

IN

WSTRING

Any WSTRING variable or constant expression.

PAT

WSTRING

Unicode String containing searched characters.

Outputs

Output

Data type

Description

POS

DINT

Position of the first character of PAT in IN, or 0 if not found.

Remarks

The first valid character position is 1.

A return value of 0 means that the PAT string has not been found.

Search is case sensitive.


Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool