Investment Studio > Expressions > Functions > Text > TRIM

string trim(string argument)

Returns the argument string stripped of all spaces except for single spaces between words.

Example

="<" & trim("   Strangely    spaced   string   ") & ">"

equals "<Strangely spaced string>".

See also clean, replace, substitute.