From Clomosy Docs
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
<b>Example</b><br> | <b>Example</b><br> | ||
<pre> | <pre> | ||
var | var | ||
| Line 17: | Line 17: | ||
ShowMessage('Updated Text: '+ updatedText); | ShowMessage('Updated Text: '+ updatedText); | ||
} | } | ||
</pre> | </pre> | ||
Revision as of 10:43, 13 November 2024
function clGetStringAfter(mainText,ConditionText:String):String;
In Clomosy, you can use the clGetStringAfter function to retrieve text that comes after a character or characters in the text. The basic usage of the clGetStringAfter function is as follows:
Example
var
mainText,ConditionText,updatedText : String;
{
mainText = 'AAbBCC';
ConditionText = 'bB';
updatedText = clGetStringAfter(mainText,ConditionText);
ShowMessage('Updated Text: '+ updatedText);
}
Output:
Updated Text: CC