經安全檢測,此網站為安全網站,請放心前往原始網址!

JavaScript: String.trim() - JavaScripter.net

Question: How do I trim leading and trailing spaces of a string? Answer: To remove all leading and trailing spaces from a string str , you can use this code:

www.google.com.tw

網址安全性掃描由 google 提供