Blog Reader RSS LoveCherry 技术无极限 GEO MVP MS Project开源技术

字段内容里有不可见字符,不是空格,怎么去掉?

select * from col like '%'+char(9)+'%'
select * from col like '%'+char(10)+'%'
select * from col like '%'+char(13)+'%'
chr(10)表示换行
chr(9)表示打出一个TAB键的空格!
<html>
<head>
<title>VBscript</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body><script language="VBScript" type="text/VBScript">
alert 
"a"&chr(9)&"b"&chr(10)&"c"&chr(9)&chr(10)&"d"
</script>
</body>
</html>
chr(13)代表回车,chr(32)代表空格,chr(34)代表"
posted @ 2008-05-12 22:47  大宋提刑官  阅读(861)  评论(0编辑  收藏  举报