String Functions
This document contains the string functions supported by e6data.
| | - Concatenation Operator
> select 'hello' || 'world';
'helloworld'
> select concat('hello ', 'world')
'hello world'LIKE - Like Operator
select colA from table where colA like 'P_%'ILIKE - ILike Operator
> select colA from table where colA ilike 'P_%'
> select colA from table where colA not ilike 'P_%'RLIKE - RLike Operator
> select 'E6data' RLIKE 'E[0-9][a-z]+'
trueCHARACTER_LENGTH / CHAR_LENGTH / LEN / LENGTH ( <expr> )
REPLACE( <expr>, <search> [, <replace> ] )
TRIM( <expr> )
LTRIM( <expr> )
RTRIM( <expr> )
LOWER( <expr> )
UPPER( <expr> )
SUBSTRING( <expr>, start, length )
SUBSTR( <expr>, start, length )
INITCAP( <expr> )
CHARINDEX( <expr> , string [, startindex] )
POSITION( <expr> in <expr> from [startindex] )
RIGHT ( <string>, <offset> )
LEFT ( <string>, <offset> )
LOCATE ( <substring> , <string> [, <start_position> ] )
CONTAINS_SUBSTR( <expr> , <search_value_literal> )
INSTR( <expr>, subvalue [, position, occurrence] )
SOUNDEX( <expr> )
SPLIT( <expr>, [delimiter] )
SPLIT_PART( <expr>, <delimiter>, <position> )
ASCII( <expr> )
REPEAT( <input_string> , <repeat_value> )
STRPOS ( <string>, <substring> [, <start_position> ] )
LPAD ( <expr>, <length> [, <pad> ] )
RPAD ( <expr>, <length> [, <pad> ] )
REVERSE ( <expr> )
Last updated
