| mIRC Scripting Language |
| Additional Resources - mSL Commands - mSL Identifiers - mSL Local Identifiers”) - mSL Events - mSL Event Prefixes - Security - mSL Injection - Others - Virtual Profile - Unicode |
Wiki mIRC Italia
$left
Indice
$left is a string manipulation identifier used to return characters from the left side of a string.
| Contents - 1 Synopsis - 2 Parameters - 3 More Examples - 4 See Also |
Synopsis
$left(<string>, <length>)
Parameters
**
**
If the length provided is positive, $left will return the
$left(abcdefg, 4)
; abcd
If the length provided is negative, $left will return the characters in the string minus
$left(abcdefg, -3)
; abcde
More Examples
$left(appleseed, -4)
; apple
$left([AB]BotName, 4)
; [AB]