From Clomosy Docs
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
'''Example:''' | '''Example:''' | ||
ShowMessage(clGetStringTo('AAbBCC','CC')); | |||
'''Output:''' | '''Output:''' | ||
Revision as of 13:56, 7 February 2024
In Clomosy, you can use the clGetStringTo function to retrieve text that precedes a character or characters in the text. The basic usage of the clGetStringTo function is as follows:
clGetStringTo(mainText, ConditionText'): String
Example:
ShowMessage(clGetStringTo('AAbBCC','CC'));
Output:
AAbB