用replace來去掉中間的空格。用TRIM去掉後麵的
所有跟帖:
• 謝謝!可是這樣做了,連續空格後麵的字符怎麽辦?也需要刪掉 -青銅騎士- ♂ (0 bytes) () 08/20/2007 postreply 10:48:48
• replace 就是去replace掉中間的空格,其他字符不會改變 -不提也罷- ♂ (0 bytes) () 08/20/2007 postreply 14:11:28
• 謝謝!可是這樣做了,連續空格後麵的字符怎麽辦?也需要刪掉 -青銅騎士- ♂ (0 bytes) () 08/20/2007 postreply 10:48:48
• replace 就是去replace掉中間的空格,其他字符不會改變 -不提也罷- ♂ (0 bytes) () 08/20/2007 postreply 14:11:28
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2024 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy