From Clomosy Docs
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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> | ||
| Line 38: | Line 26: | ||
<h2> See Also </h2> | <h2> See Also </h2> | ||
* [[System_Library#Cl_Utilities_Functions | Cl Utilities Functions]] | * [[System_Library#Cl_Utilities_Functions | Cl Utilities Functions]] | ||
{{#seo:|description=Explore ClGetStringAfter on Clomosy. Learn how to use the clGetStringAfter function to extract text after specific characters in your projects.}} | |||
Latest revision as of 13:52, 15 May 2025
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
See Also