結果 : javascript substring up to character