NAME
ChopLeft — Remove characters from the left end of the string.
SYNOPSIS
ChopLeft StringVariable ?Count?
DESCRIPTION
Return Value
String with the characters removed.
Arguments
StringVariableString to chop. Can be either a value or @VarName (will upvar and read/write).
CountOptional. How many characters to chop. Default is 1.
More Info
Note that this command is based on string range and has behavior consistent with values that are less than zero or past the end of the string.

Note that arguments of the form XxxVariable can take either a normal value or the name of a variable to read/write, prefixed by @. See About Using @ for details.


For information regarding exceptions / errors, see here.
EXAMPLES
% ChopLeft "abcd"
bcd
% ChopLeft "xyz" 2
z
% set MyString abcd
abcd
% ChopLeft @MyString 2
cd
% puts $MyString
cd
SEE ALSO
ChopRight, DoubleChop, string
KEYWORDS
conversion, modify, string, text