F_BA_RemovePrefix2L

The function F_BA_RemovePrefix2L removes a prefix from a string if it appears at the beginning.
Syntax
FUNCTION F_BA_RemovePrefix2L : BOOL
VAR_INPUT
sString : POINTER TO STRING;
nString : UDINT := 0;
sPrefix : POINTER TO STRING;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
sString | POINTER TO STRING | String from which the prefix is to be removed. |
nString | UDINT | Length of the string. If the value is 0, it is determined automatically. |
sPrefix | POINTER TO STRING | Prefix to be removed. |