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":
image

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.

Categories: PCD2 / _Firmware Classic; PCD3 / _Firmware Classic; PG5 2.0 / SEdit (IL programming)

Last update: 31.05.2015 14:56 · First release: 14.04.2009 14:57 · Views: 4'169