FIND2

FIND2 1:

The function finds a string, which may occur more than once, in another string.

The function returns:

The function stops the checking of the input length after Parameterlist.cMaxCharacters characters in order to avoid an infinite loop.

FIND2 2: Return value

Name

Type

Description

FIND2

UDINT

Finds a string that may occur more than once in another string.

FIND2 3: Inputs

VAR_INPUT
    pSrcString  : POINTER TO STRING;
    pFindString : POINTER TO STRING;
END_VAR

Name

Type

Description

pSrcString

POINTER TO STRING

Pointer to the STRING variable whose string is to be searched.

pFindString

POINTER TO STRING

Pointer to the STRING variable whose string is being searched for.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.4022

PC or CX (x86, x64, Arm®)

Tc2_Utilities (System) >=3.3.35.0