Postgresql Get Index Of Element In String