Contents
Display Legacy Contents

 Print
    Trim  
This Function returns a <string>, which is the specified Source string with all the spaces at beginning and ending removed.

Parameters

Source string <string>
  String to remove the spaces from.
   
Trim Left <boolean>
  Removes spaces from the left side of the Source string?
 
Trim Right <boolean>
  Removes spaces from the right side of the Source string?

     
Example 1
  Example 2
"<" + Trim(" Kalipso ", YES, YES) + ">"

Result = <Kalipso>
  "<" + Trim(" Kalipso ", YES, NO) + ">"

Result = <Kalipso >
     
Example 3   Example 3
"<" + Trim(" Kalipso ", NO, YES) + ">"

Result = < Kalipso>
  "<" + Trim(" Kalipso ", NO, NO) + ">"

Result = < Kalipso >

See also
Samples

 
Updated: 3/21/2018 4:27 PM