Is it possible to search an expression within a PCD text?
FAQ #101186
For parsing a PCD text for a specific expression (e.g. finding "world" in a PCD text with content "Hello world") a new System Function has been added for PCD3 and PCD2.M5xx0.
What does this System Function (SF) do?
The new function "S.SF.DbLib.SearchText" allows searching a text for a specific expression. If this expression is found, the SF returns the position of the expression within the text.
Where do I find the documentation for this function?
This function is documented in PG5 2.0. The easiest way to open the documentation is opening the SEdit, selecting the "SF DB Access Library" and hitting "F1":
Minimum Firmware (FW) requirement for this feature
| System | Beta FW version | first production version |
| PCD2.M5xx0 | 1.10.07 | 1.10.16 |
| PCD3.Mxxx0 | 1.10.07 | 1.10.16 |
PCD systems not listed in this table do not support this function.
Remark
This feature can only be used with PG5 2.0.