From WikiChip
Difference between revisions of "mirc/identifiers/$len"
(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|$ | + | * {{mIRC|$count}} |
− | |||
− |
Revision as of 08:17, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.