-2
可能重複:
Remove commas from the string using javascript使用javascript刪除特殊字符的字符串?
我想在我的字符串中刪除特殊字符,而搜索。我的字符串是「這很複雜」。 我想從我的字符串中刪除'。
任何人都可以請幫我嗎?
可能重複:
Remove commas from the string using javascript使用javascript刪除特殊字符的字符串?
我想在我的字符串中刪除特殊字符,而搜索。我的字符串是「這很複雜」。 我想從我的字符串中刪除'。
任何人都可以請幫我嗎?
"It's complicated".replace("'", "");