|
char(varchar 'varchar string')
|
+ initcap(text)
+ text
+ first letter of each word to upper case
+ initcap('thomas')
+
+ |
lower(text)
text
convert text to lower case
text(varchar 'varchar string')
|
+ translate(text,from,to)
+ text
+ convert character in string
+ translate('12345', '1', 'a')
+
+ |
varchar(char)
varchar
convert char to varchar type
-
+ Id="operators">
Operators
|
~
Match (regex), case sensitive
- 'thomas' ~ '*.thomas*.'
+ 'thomas' ~ '.*thomas.*'
|
~*
Match (regex), case insensitive
- 'thomas' ~* '*.Thomas*.'
+ 'thomas' ~* '.*Thomas.*'
|
!~
Does not match (regex), case sensitive
- 'thomas' !~ '*.Thomas*.'
+ 'thomas' !~ '.*Thomas.*'
|
!~*
Does not match (regex), case insensitive
- 'thomas' !~ '*.vadim*.'
+ 'thomas' !~ '.*vadim.*'