Loading ...
Sorry, an error occurred while loading the content.

18917Re: [Clip] removing spaces from a variable

Expand Messages
  • Don - HtmlFixIt.com
    Jan 31, 2009
    • 0 Attachment
      Don - HtmlFixIt.com wrote:
      > if I have a variable, say ^%arrayelement3% and I want to strip all
      > 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.

      I think I'll try this ...

      Removes blank spaces from the start and end of the specified value. Example:
      ^$StrTrim(" some text ")$ returns "some text"

      I sure love notetab!
    • Show all 2 messages in this topic