Trim

Not available in this language yet.
Trim( value )
Trim( value )
Trim( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Trim( value )

Description

The Trim function returns a string which has both the leading and trailing white spaces, tabs, and new lines removed from the string.

Parameters

Argument Type Definition and Requirements

value

String

The string having the leading white spaces, tabs, and new lines removed.

Returns

A string value which has both the leading and trailing white spaces, tabs, and new lines removed.

Examples

System.out.println(
  client.query(
    Arr(
       Trim("Fire   "),
       Trim("    Fire    "),
       Trim("    \n\n\t\tFire\n\n\t\t    ")
    )
  ).get());
["Fire", "Fire", "Fire", "Fire"]