F_BA_RemoveEqualVal2L

The function F_BA_RemoveEqualVal2L skips a previously known range of identical values in a structured string. The rest of the string is returned via sResult.
Syntax
FUNCTION F_BA_RemoveEqualVal2L : BOOL
VAR_INPUT
sString : POINTER TO STRING;
nString : UDINT := 0;
sSeparator : POINTER TO STRING;
sCompare : POINTER TO STRING;
nCompare : UDINT := 0;
END_VAR
VAR_OUTPUT
sResult : POINTER TO STRING;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
sString | POINTER TO STRING | A string from which values are removed. |
nString | UDINT | Length of sString. If the value is 0, it is determined automatically. |
sSeparator | POINTER TO STRING | Delimiter between values. |
sCompare | POINTER TO STRING | Comparison string. |
nCompare | UDINT | Length of sCompare. If the value is 0, it is determined automatically. |
Outputs
Name | Type | Description |
|---|---|---|
sResult | POINTER TO STRING | Remaining string after removal. |