F_FindC

F_FindC 1:

Counts the number of occurrences of the passed string.

Syntax:

FUNCTION F_FindC : INT

F_FindC 2: Inputs

Name

Type

Description

sInp

T_MaxString

String to be searched.

sFind

T_MaxString

String to search for.

F_FindC 3: Outputs

Name

Type

Description

F_FindC

INT

Number of occurrences of the search string. If it doesn't occur at all, the result equals 0.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 4026 >= v3.1.4026.19
TwinCAT 4024 >= v3.1.4024.71

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.16.0.0)