# Re: 请问有没有办法可以

Posted by Joint on September 08, 1999 at 17:58:32:

In Reply to: Re: 请问有没有办法可以 posted by Arthur on September 08, 1999 at 17:08:57:

: : : 请问有没有办法可以..
: : : dim abc as string
: : : abc="aaaddd"
: : : 可不可以有办法将abc内的aaa转为ddd?

: : mid(abc,1,3) = "ddd"

: 不对!
: 应该是 abc = Replace(abc, "aaa", "ddd")

我的也没错呀!我有try过耶....
好无辜....
Private Sub Command1_Click()
abc = Text1.Text
Mid(abc, 1, 3) = "ddd"
Print abc
End Sub

Follow Ups: