F_BA_Find2L

The F_BA_Find2L function searches for a second string within a string whose length is limited by nSrcString. If the match is found outside the allowed length, the function returns 0.
Syntax
FUNCTION F_BA_Find2L : UDINT
VAR_INPUT
pSrcString : POINTER TO STRING;
nSrcString : UDINT;
pFindString : POINTER TO STRING;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
pSrcString | POINTER TO STRING | String to search in. |
nSrcString | UDINT | Maximum length of the source string. |
pFindString | POINTER TO STRING | Search string. |