REPLACE_W
Function to replace characters in a Unicode string.
Inputs
Input |
Data type |
Description |
IN |
WSTRING |
Unicode character string. |
STR |
WSTRING |
Unicode string containing the characters to be inserted in place of NDEL removed characters. |
NDEL |
DINT |
Number of characters to be deleted before insertion of STR. |
POS |
DINT |
Position where characters are replaced (first character position is 1). |
Outputs
Output |
Data type |
Description |
Q |
WSTRING |
Modified string.
|
Remarks
The first valid character position is 1.
The result string is truncated if longer than 32000 characters.
REPLACE_W |
IEC 61131-3 Automation platform > Programming - Reference guide > UNICODE strings (WSTRING) > REPLACE_W |
Created with the Personal Edition of HelpNDoc: Add an Extra Layer of Security to Your PDFs with Encryption