Re: [Clip] removing spaces from a variable
- View SourceDon - HtmlFixIt.com wrote:
> if I have a variable, say ^%arrayelement3% and I want to strip allI think I'll try this ...
> leading and trailing spaces ...
> so if the variable was " this " I want to get "this".
> And if it is " this two or more word variable " I want to get
> "this two or more word variable".
> I cannot just strip all spaces because I want the spaces between the words.
Removes blank spaces from the start and end of the specified value. Example:
^$StrTrim(" some text ")$ returns "some text"
I sure love notetab!