假设有字符串strstr=replace(str," ","")str=replace(str,vbcrlf,"")str=replace(str,vbcr,"")str=replace(str,vblf,"")if str="" then'就说明是空end if