摘要:
var str = 'This;is;a;test'; var str1 = str.replace(';',' '); 在javascript中,想通過上面的代碼替換字符串str中的所有';'為' '是行不通的,str1的內容為'This is;a;test' 如果想str1的內容為'This is a test',則需要這樣來做: var re = '/;/g'; var str =... 阅读全文
摘要:
On a dark desert highway cool wind in my hair Warm smell of colitas rising up through the air Up ahead in the distance I saw a shimmering light My head grew heavy and my sight grew dim I had to stop f... 阅读全文
摘要:
1.《乱世佳人》 Tomorrow is another day. 2.《泰坦尼克号》 Jack: "You must do me this honor... promise me you will survive... that you will never give up... no matter what happens... no matter how hop... 阅读全文