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 |
---|---|---|
|
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"]
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!