I have a table in PostgreSQL with following values.
col1
; substrate
positive allosteric modulator
inducer; substrate
I would like to split the row values by ';' into multiple columns. As per my understanding, split_part() function works only for fix number of values.
How can I get the below output?
col1 col2 col3
; substrate substrate
positive allosteric modulator positive allosteric modulator
inducer; substrate inducer substrate
Thanks