結果 : remove string after certain character javascript