Sql Get String From Charindex Postgresql W3schools