[String->Trim] removes all white space from the start and end of the string. Modifies the string in place and returns no value.
All spaces, return characters, new lines, and tabs are removed from both the start and end of the string.
|String Variable||The base string which is to be modified.|
Use the [String->Trim] tag. The following example shows how to trim extra white space from the beginning and end of a value returned by [Action_Param: 'First_Name']. The variable First_Name will contain the same value, but without any extraneous spaces or return characters.
[Var: 'First_Name'=(Action_Param: 'First_Name')]
<br>" John "
|Output Type||None (Modifies in place)||Security||None|
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.