Cloud
btrim
The btrim() function removes the longest string containing only characters from a specified set from both the start and end of a string. If you don’t specify a set of characters, btrim() removes spaces.
Syntax
The syntax of the btrim() function is:
BTRIM(string)
BTRIM(string, characters)
The btrim() function accepts the following arguments:
-
string: The string to trim. -
characters: Optional. The set of characters to remove from both ends ofstring. Defaults to a space character.
Examples
Was this helpful?