Splitting a string is a very common requirement for all PostgreSQL Database Developers. I used regexp_split_to_array to split the string and store the result into a string array. You can pass any delimiters. Below are two sample example using regexp_split_to_array(): ...