由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Re: Please help on replacing character i
相关主题
delete characters between parentheses?WHERE-CLAUSE 求助 (很复杂)
请教:SSIS输出到,某column中含隐藏字符'口',一条记录分成两Please help on replacing character in VB
instr() 在 pl/sql 中是什么意思?怎么调用已经被重载的父类方法?
Babylon, will iAS replace OAS?请教一个mysql 排序问题。
Help on migrating oracle to db2, outerjoinrandom sampling with replacement, how?
谁对paradox熟?How to replace 0 with empty?
这句SQL怎么写?简历以后不写毕业年份了
PL/SQL function 使用求教?问个sp_send_dbmail 下html format的问题
相关话题的讨论汇总
话题: replacing话题: character话题: vb6话题: newtxt话题: replace
进入Database版参与讨论
1 (共1页)
l**u
发帖数: 67
1
I am using vb6. and i found out that change
Newtxt = Oldtxt.Replace(" ' ", " '' ") into
Newtxt = Replace(txtName.text, " ' ", " '' ")
And it works.
I am not very aware of VB and VB.net. Why if i use vb6, it is wrong?
Thanks

single
still
aw
发帖数: 127
2
hehe, u've found it yourself.
in .net, string is a class, which has a method called replace, so you can use
[object].[method], in vb6, replace is only a system function, not belong to
any object, the same as instr(), split(), ....

it
name.

【在 l**u 的大作中提到】
: I am using vb6. and i found out that change
: Newtxt = Oldtxt.Replace(" ' ", " '' ") into
: Newtxt = Replace(txtName.text, " ' ", " '' ")
: And it works.
: I am not very aware of VB and VB.net. Why if i use vb6, it is wrong?
: Thanks
:
: single
: still

1 (共1页)
进入Database版参与讨论
相关主题
问个sp_send_dbmail 下html format的问题Help on migrating oracle to db2, outerjoin
万佛,请教一个数据库问题 (转载)谁对paradox熟?
multi tasks如何HANDLE?这句SQL怎么写?
一道题 PL/SQLPL/SQL function 使用求教?
delete characters between parentheses?WHERE-CLAUSE 求助 (很复杂)
请教:SSIS输出到,某column中含隐藏字符'口',一条记录分成两Please help on replacing character in VB
instr() 在 pl/sql 中是什么意思?怎么调用已经被重载的父类方法?
Babylon, will iAS replace OAS?请教一个mysql 排序问题。
相关话题的讨论汇总
话题: replacing话题: character话题: vb6话题: newtxt话题: replace