結果 : how to take a substring in javascript