結果 : java substring from beginning to character