Recommended: Full-width half-width conversion code javascript conversion: SCRIPT /* ************************ * Parameter description: * str: The string to be converted * flag: mark, 0 and half to full, and 0 and half to half to full* Return value type: string ********************************** */ function DBC2SBC(str,flag) { var i; var result=''; if (
The ASP replaces the last bit of the IP address with an asterisk. The example code is as follows:
- <%
- 'source
- ipstr=rs(cIP)
- ipstr=split(ipstr,.,-1,1)
- ipstripstrout=ipstr(0)&.&ipstr(1)&.&ipstr(2)&.*
- response.writeipstrout
- %>
Share: ASP calls web services ASP calls web services % Function CallWebServices(sUrl, sMethodName, soapMessage, XmlString) CallWebServices = false Set xmlhttp = CreateObject(MSXML2.XMLHTTP) xmlhttp.Open POST,sUrl, False xmlhttp.SetRequestHeader Content-Type,text/xm