結果 : sql function to extract characters from string