青瓷是什么小说:ChkString是什么意思?

来源:百度文库 编辑:高考问答 时间:2024/05/01 12:43:31
能举例说明一下吗..?

Function ChkString(str)
str = replace(str, "<", "<", 1, -1, 1)
str = replace(str, ">", ">", 1, -1, 1)
ChkString = str
End Function

这个应该什么去理解呢.请高手指点...谢谢啦..

Function ChkString(str)'自定义函数
str = replace(str, "<", "<", 1, -1, 1)
str = replace(str, ">", ">", 1, -1, 1)
ChkString = str'返回值
End Function

使用方法
str1=ChkString(str1)