F_BA_RemoveDelimited2

F_BA_RemoveDelimited2 1:

The F_BA_RemoveDelimited2 function removes a section from a string starting at the first occurrence of a delimiter pattern. It works in conjunction with the ANY_STRING variant of F_BA_RemoveDelimited2L.

Syntax

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

F_BA_RemoveDelimited2 2: Inputs

Name

Type

Description

sString

ANY_STRING

String from which characters are removed.

sPrefix

POINTER TO STRING

Search pattern for the section to be removed.