From WikiChip
Difference between revisions of "mirc/identifiers/$len"
< mirc‎ | identifiers

(Created page with " {{mirc title|$len Identifier}}'''$len(text)''' Returns the length of text. == Synopsis == <source lang="mIRC"> $len(text)</source> == Paramters == '''Text''' = ''Will be...")
 
(See Also)
Line 33: Line 33:
 
== See Also ==
 
== See Also ==
 
[[Category:MIRC identifiers]]
 
[[Category:MIRC identifiers]]
* {{mIRC|$islower}}
+
* {{mIRC|$count}}
* {{mIRC|$true}}
 
* {{mIRC|$false}}
 

Revision as of 08:17, 12 June 2017


$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 $islower(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