FIND_W
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.
FIND_W |
IEC 61131-3 Automation platform > Programming - Reference guide > UNICODE strings (WSTRING) > FIND_W |
Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool