There are a series of functions to be applied to String fields.
|
Function Name
|
Description
|
Standard
|
|
CONCAT(str_field, str_field2 [, str_fieldX])
|
Returns the concatenation of the string fields
|
|
|
SUBSTRING(str_field, num1 [, num2])
|
Returns the substring of the string field starting at position
num1
, and optionally
ending at position
num2
|
|
|
TRIM([trim_spec] [trim_char] [FROM] str_field)
|
Returns trimmed form of the string field
|
|
|
LOWER(str_field)
|
Returns the lower case form of the string field
|
|
|
UPPER(str_field)
|
Returns the upper case form of the string field
|
|
|
LENGTH(str_field)
|
Returns the size of the string field (number of characters)
|
|
|
LOCATE(str_field1, str_field2 [, num])
|
Returns position of
str_field2
in
str_field1
optionally
starting at
num
|
|