F_BA_RemovePrefix2

F_BA_RemovePrefix2 1:

The function F_BA_RemovePrefix2 removes a prefix from a string if it appears at the beginning. It is the ANY_STRING variant of F_BA_RemovePrefix2L.

Syntax

FUNCTION F_BA_RemovePrefix2 : BOOL
VAR_INPUT
  sString : ANY_STRING;
  sPrefix : POINTER TO STRING;
END_VAR

F_BA_RemovePrefix2 2: Inputs

Name

Type

Description

sString

ANY_STRING

String from which the prefix is to be removed.

sPrefix

POINTER TO STRING

Prefix to be removed.