Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion_functions::unicode::substrindex - Rust
[go: Go Back, main page]

Module datafusion_functions::unicode::substrindex

source ·

Structs§

Functions§

  • Returns the substring from str before count occurrences of the delimiter delim. If count is positive, everything to the left of the final delimiter (counting from the left) is returned. If count is negative, everything to the right of the final delimiter (counting from the right) is returned. SUBSTRING_INDEX(‘www.apache.org’, ‘.’, 1) = www SUBSTRING_INDEX(‘www.apache.org’, ‘.’, 2) = www.apache SUBSTRING_INDEX(‘www.apache.org’, ‘.’, -2) = apache.org SUBSTRING_INDEX(‘www.apache.org’, ‘.’, -1) = org