scalar-extension
split_part
Return the selected delimiter-separated field; positive positions start at one and negative positions count from the end.
Formal Syntax & Structure
sql syntaxsql
split_part(string text, delimiter text, n integer)Working Example
Example Snippetsql
SELECT split_part('a/b/c','/',2);