結果 : substring up to character sql