結果 : get portion of string javascript