From Clomosy Docs

Revision as of 06:49, 10 October 2024 by ClomosyManager (talk | contribs)

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
TRObject Syntax

var
 mainText,ConditionText,updatedText : String;

{
 mainText = 'AAbBCC';
 ConditionText = 'bB';
 updatedText = clGetStringAfter(mainText,ConditionText);
 ShowMessage('Updated Text: '+ updatedText);
}

Base Syntax

var
 mainText,ConditionText,updatedText : String;

begin
 mainText := 'AAbBCC';
 ConditionText := 'bB';
 updatedText := clGetStringAfter(mainText,ConditionText);
 ShowMessage('Updated Text: '+ updatedText);
end;

Output:

See Also