Skip to main content

Module substring

Module substring 

Source
Expand description

Defines kernel to extract a substring of an Array Supported array types: [GenericStringArray], [GenericBinaryArray], [FixedSizeBinaryArray], [DictionaryArray]

Functionsยง

ascii_bounds ๐Ÿ”’
Returns the start and end byte offset of the substring of an ASCII val, where one char is one byte.
byte_substring ๐Ÿ”’
fixed_size_binary_substring ๐Ÿ”’
substring
Returns an [ArrayRef] with substrings of all the elements in array.
substring_by_char
Substrings based on character index
substring_by_char_impl ๐Ÿ”’
Builds the output of substring_by_char, delegating to bounds to locate the substring of each value.
utf8_bounds ๐Ÿ”’
Returns the start and end byte offset of the substring of an arbitrary UTF-8 val.