I am searching for a way to access to the Nth element of an array which is a result of string_to_array() function in PostgreSQL. For example,
string_to_array()
Assume that a
select (string_to_array('1,2,3,4',','))[2];