pyflink.table.expression.Expression.substring#
- Expression.substring(begin_index: int | Expression[int], length: int | Expression[int] | None = None) Expression[str][source]#
Creates a substring of the given string at given index for a given length.
- Parameters:
begin_index – first character of the substring (starting at 1, inclusive)
length – number of characters of the substring
See also
trim_leading(),trim_trailing(),trim(),replace(),char_length,upper_case,lower_case,init_cap,like(),similar(),position(),lpad(),rpad(),overlay(),regexp_replace(),regexp_extract(),substring(),from_base64,to_base64,ltrim(),rtrim(),repeat(),json_quote(),json_unquote()Added in version 1.12.0.