結果 : how to do a substring in javascript