F_BA_OffsetPrefix2

The F_BA_OffsetPrefix2 function removes a prefix from the beginning of a string, if one exists. It is the ANY_STRING variant of F_BA_OffsetPrefix2L.
Syntax
FUNCTION F_BA_OffsetPrefix2 : BOOL
VAR_IN_OUT
sString : POINTER TO STRING;
END_VAR
VAR_INPUT
sPrefix : ANY_STRING;
END_VAR
Inputs/outputs
Name | Type | Description |
|---|---|---|
sString | POINTER TO STRING | A string whose beginning is modified. |
Inputs
Name | Type | Description |
|---|---|---|
sPrefix | ANY_STRING | Prefix to be removed. |