結果 : java get substring up to character