body="gfgfdgfdgfdgfdgfd"
body=replace(body,"要被替换的内容","替换的内容")
例子:
<%
strtest=“this is an apple.”
response.write replace(strtest,”apple”,”orange”)
%>
结果:this is an orange.
ASP中replace的相关用法
阅读 67
2022-07-27
body="gfgfdgfdgfdgfdgfd"
body=replace(body,"要被替换的内容","替换的内容")
例子:
<%
strtest=“this is an apple.”
response.write replace(strtest,”apple”,”orange”)
%>
结果:this is an orange.
相关推荐
精彩评论(0)