====== Trim(text) ======
Category:  Text function

\\ 
=====Description=====
This function trims off all leading and trailing spaces, and other non-printing characters (see //Remarks//) from //text//.

\\ 
=====Arguments=====
^Argument^Type^Description^
|text|Text|Any text value or other value that can be implicitly converted to text if required.|

**Return value type:** Text

\\ 
=====Remarks=====
Besides spaces, it also removes other non-printing, white-space characters such as tabulations, form feeds, etc. [[https://docs.microsoft.com/en-us/dotnet/api/system.char.iswhitespace?view=netcore-3.1#remarks|The full list of removed white-space characters]].

\\ 
=====Examples=====

  trim(' Columbia') //Returns 'Columbia'

  trim(' Columbia  ') //Returns 'Columbia'

  trim('  Columbia  ') //Returns 'Columbia'

\\ 
===== See also =====
  * [[syntax:functions:trimend|TrimEnd(text)]]
  * [[syntax:functions:trimstart|TrimStart(text)]]
