Postgresql Get First Character In String Python W3schools