查看: 684|回复: 1
|
删掉一个句子的逗号然后Replace with spaces, asp
[复制链接]
|
|
大家好。。希望可以得到帮助
假设我有一个句子,以下:
"today, i eat, a, bread"
how can i count where is the comma and then i need to replace them with spaces?
is it just use Replace(str,","," ")?
请帮帮忙,谢谢。 |
|
|
|
|
|
|
|
发表于 10-1-2008 11:08 AM
|
显示全部楼层
原帖由 紫蘑菇 于 10-1-2008 09:12 AM 发表 
大家好。。希望可以得到帮助
假设我有一个句子,以下:
"today, i eat, a, bread"
how can i count where is the comma and then i need to replace them with spaces?
is it just use Replace(str,","," ")?
...
對...
str = replace(str, "," , ".") |
|
|
|
|
|
|
| |
本周最热论坛帖子
|