From WikiChip
$len Identifier - mIRC
< mirc‎ | identifiers
Revision as of 09:18, 12 June 2017 by Westor (talk | contribs) (Example)


$len(text) Returns the length of text.

Synopsis

$len(text)

Paramters

Text = Will be the given text that you want to use for.

Properties

None

Example

//echo -a $len(ONE)

It will return 3 because it's the correct length of the text.

//echo -a $len(ONE TWO)

It will return 7 because it is counting all the text ASCII characters as the total legth of the text.

//echo -a $len(12345)

It will return 5 because it can count and numbers included the text as the length of the text.

Compatibility

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also