| Purpose | The searchText command allows you to search for a specific string within a long text variable. | ||||||
|
Examples
Further examples |
SearchText
"t1"
string="Vivaldi" This searches for the string "Vivaldi" within the long text variable t1. |
||||||
| Format |
SearchText "textvar"
string="string1"
"textvar" is the name of the long text variable to search in, "string1" is the string to search. After execution, you can use if Q[ok] to check whether the string was found |
||||||
| Options |
|
||||||
| Example |
We count how many times the string “Vivaldi” appears in a text: GuiXT
|
||||||
| Components | GuiXT + InputAssistant |