結果 : javascript substring until specific character