佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 684|回复: 1

删掉一个句子的逗号然后Replace with spaces, asp

[复制链接]
发表于 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,","," ")?

请帮帮忙,谢谢。
回复

使用道具 举报


ADVERTISEMENT

发表于 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,   ","   ,  ".")
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 15-10-2025 02:22 PM , Processed in 0.134516 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表