String Functions
This page lists the string functions that are available in the GSQL query language.
gsql_uuid_v4()
gsql_uuid_v4()
Syntax
gsql_uuid_v4()
Description
Generates and returns a version-4 universally unique identifier(UUID).
Return type
STRING
Parameters
None.
lower()
lower()
Syntax
lower(str)
Description
Returns the input string with all letters in lowercase.
Return type
STRING
Parameters
Parameter | Description | Data type |
| The string to convert to lowercase |
|
Example
trim()
trim()
Syntax
trim( [ [ LEADING | TRAILING | BOTH ] [removal_char FROM] ] str )
Description
Trims characters from the leading and/or trailing ends of a string.
By using one of the keywords LEADING
, TRAILING
, or BOTH
, the user can specify that characters are to be removed from the left end, right end, or both ends of the string, respectively. If none of these keywords is used, the function will remove from both ends.
Return type
STRING
Parameters
Parameter | Description | Data type |
| Optional. The character to remove. If |
|
| A string value. |
|
Example
upper()
upper()
Syntax
upper(str)
Description
Returns the input string with all letters in uppercase.
Return type
STRING
Parameters
Parameter | Description | Data type |
| The string to convert to uppercase |
|
Example
Last updated