vb中replace函數(shù)的使用方法 replace在VB里是什么意思?
replace在VB里是什么意思?在ASP中,VBScript replace的語法是:replace(“string”、“string to be replace”、“string after re
replace在VB里是什么意思?
在ASP中,VBScript replace的語法是:replace(“string”、“string to be replace”、“string after replacement”)。在VBScript中,replace()詳細(xì)信息:函數(shù):在字符串中搜索,替換指定的字符串。格式:replace(strtobesearch,strsearchfor,strreplaceword[,start[,count[,compare
)。參數(shù):strtobesearch is string s Trsearchfor是要搜索的子字符串。Strreplacewith是要替換的子字符串。開始,計數(shù),比較是任何選項(xiàng)。示例:<%strtest=“這是一個蘋果?!眗esponse.writereplace文件(strtest,“蘋果”,“橙色”)%>結(jié)果:這是一個橙色