<pre>function stripChars charToRemove,oldContent  -- charToRemove = "space,quote,return,tab,formFeed,lineFeed,etc"  put oldContent into newContent  repeat while first char of newContent is charToRemove    delete first char of newContent  end repeat  repeat while last char of newContent is charToRemove    delete last char of newContent  end repeat  return newContentend stripChars</pre>