From Clomosy Docs

Revision as of 14:14, 13 September 2023 by ClomosyManager (talk | contribs) (Created page with "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:''' begin ShowMessage(clGetStringTo('AAbBCC','CC')); end; '''Output:''' AAbB")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

begin
  ShowMessage(clGetStringTo('AAbBCC','CC'));
end;

Output:

AAbB