-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
mirc/identifiers/$left
< mirc | identifiers
Template:mIRC guide $left is a string manipulation identifier used to return characters from the left side of a string.
Contents
Synopsis
The $left identifier requires 2 parameters
$left(<string>, <length>)
Parameters
<string>The string to manipulate
<length>The length or number of characters to remove from the original string. <length> can be a positive or negative. It cannot be 0.
If the length provided is positive, $left will return the <length> characters on the right of the string.
$left(abcdefg, 4) ; abcd
If the length provided is negative, $left will return the characters in the string minus <length> on the right.
$left(abcdefg, -3) ; abcde
More Examples
$left(appleseed, -4) ; apple
$left([AB]BotName, 4) ; [AB]