我有一个字符串,我用逗号分隔符分割并添加到一个数组中,现在我需要将数组排序为 8 的倍数的地址,前 8 个将是第一个地址,接下来的 8 个将是下一个地址,依此类推。 . 在 html 表中输出。建议
像这样..
id addr1 addr2 addr3 add4
1 12 road birmingham westmid u.k
objSoapClient.serviceForPostcodeStringBuilder("AB10 1AF") 返回字符串。
<%
dim address
dim addArray
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
Call objSoapClient.mssoapinit("http://ip address:56478/postcode/Service1.asmx?WSDL","Service1")
response.write(session("collp"))
address = objSoapClient.serviceForPostcodeStringBuilder("AB10 1AF")
addArray = Split(address,",")
%>