Coba... Update mytable set street = (string_to_array(myfield,'~'))[2] Anda hanya perlu tanda kurung itu.