删除前后缀空格trim()
摘要:trim() var stringValue = " hello world "; var trimStringValue = stringValue .trim(); alert(stringValue) // " hello world " alert(trimStringValue) // "
阅读全文
posted @ 2022-08-16 14:21
posted @ 2022-08-16 14:21
posted @ 2022-08-16 14:13
posted @ 2022-08-15 17:22
posted @ 2022-08-12 15:53
posted @ 2022-08-12 09:51