F_FindL

Finds the position of the first character of a given string within another string. Unlike the FIND() function, F_FindL returns the last occurrence. This is useful, for example, when the search string appears multiple times.
Syntax:
FUNCTION F_FindL : INT
Inputs
Name | Type | Description |
|---|---|---|
sInp | String to be searched. | |
sFind | String to search for. |
Outputs
Name | Type | Description |
|---|---|---|
F_FindC | INT | Position of the last occurrence of the search string. If it doesn't occur at all, the result equals |
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT 4026 >= v3.1.4026.19 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.16.0.0) |