From Clomosy Docs

Revision as of 14:21, 24 December 2024 by ClomosyAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The length function returns the element count of the number of characters in the S. It is often used to loop around all the characters in a string.

Example

var
 valueStr    : string;
{

 valueStr = 'Clomosy';
 ShowMessage('Length of valueStr = '+IntToStr(Length(valueStr)));

}

Output:

See Also