08 2009 档案
摘要:<script> /* 2007-11-28 XuJian */ //截取字符串 包含中文处理 //(串,长度,增加...) function subString(str, len, hasDot) { var newLength = 0; var newStr = ""; var chineseRegex = /[^\x00-\xff]/g; var singleChar =...
阅读全文
摘要:#region生成XML消息XmlDocumentxmlDoc=newXmlDocument();//生成描述版本XmlDeclarationxmlDec;xmlDec=xmlDoc.CreateXmlDeclaration("1.0","gb2312","yes");xmlDoc.InsertBefore(xmlDec,xmlDoc.DocumentElement);//定义根节点XmlElem...
阅读全文