NAME
Mash — Take string, make into all lowercase and no spaces.
SYNOPSIS
Mash StringVariable
DESCRIPTION
Return Value
String like the original except all in lowercase and no spaces.
Arguments
StringVariableString to convert into mashed version. Can be either a value or @VarName (will upvar and read/write).
More Info
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
% set DisplayName "Two Words"
Two Words
% set FileName "[Mash $DisplayName].txt"
twowords.txt
% set MyString "Mash ed"
Mash ed
% Mash @MyString
mashed
% puts $MyString
mashed
SEE ALSO
string
KEYWORDS
string, transform