越狱全集蓝光百度云盘:vb高手,一起来评,错在哪里,应如何改正?

来源:百度文库 编辑:高校问答 时间:2024/05/12 17:40:58
public sub huang()
dim a as string
a="i am a student"
dim b as integer
for b=1 to 10 step 1
a=left(string,b)
if a="s" then
replace(string,s,v)
next b
end sub

你打开VB。。。点调试。。自己实验一下。就知道那里错了。。

replace(string,s,v)
改成
replace(string,"s","v")