Function to extract characters of a Unicode string at any position.

Inputs

Input

Data type

Description

IN

WSTRING

Unicode character string.

NBC

DINT

Number of characters to extract.

POS

DINT

Position of the first character to extract (first character of IN is at position 1).

Outputs

Output

Data type

Description

Q

WSTRING

String containing the first NBC characters of IN.

Remarks

The first valid position is 1.


Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator