Remove leading and trailing spaces from a string.
Syntax
Trim(string)
Key
string A text string or string expression.
Dim strDemo
strDemo = Trim(" Talent is just a skill you're willing to practice ")
Returns "Talent is just a skill you're willing to practice"
“The hands of every clock are shears, trimming us away scrap by scrap, and every time piece with a digital readout blinks us towards implosion” ~ Dean Koontz
LTrim - Remove leading spaces from a string.
RTrim Remove trailing spaces from a string.