vb6.0 如何判断字符串内容是否为空,就是字符串里面全是空格,回车之类的
假设有字符串strstr=replace(str," ","")
str=replace(str,vbcrlf,"")
str=replace(str,vbcr,"")
str=replace(str,vblf,"")
if str="" then
'就说明是空
end if vbcr是\r, vblf是\n vbcr是\r, vblf是\n
小雨NEIL 发表于 2014-7-30 09:11 http://www.kanliuxing.com/images/common/back.gif
\r \n 是什么?老师?
页:
[1]