bloke
05-27-2003, 06:43 AM
Folks
I'm suffering from brain malfunction yet again (must be the Bank Holiday).
This:
<%strrecipientslist = """ & replace(rsallcorres("recipients"), ",", "","") & """
recipArray = array(strrecipientslist)
Dim iLoop
For iLoop = lBound(recipArray) to UBound(recipArray)
response.write recipArray(iLoop) & "<br>"
Next
%>
....should return
Noel
John
Phil
(given that """ & replace(rsallcorres("recipients"), ",", "","") & """ returns "Noel","John","Phil"
But instead it returns
"Noel","John","Phil"
ps, I am using '& quot ;' in the replace function but it appearing in the post as """...
I'm probably just being a bit stupid here but can anyone help before I go mad?
Cheers
I'm suffering from brain malfunction yet again (must be the Bank Holiday).
This:
<%strrecipientslist = """ & replace(rsallcorres("recipients"), ",", "","") & """
recipArray = array(strrecipientslist)
Dim iLoop
For iLoop = lBound(recipArray) to UBound(recipArray)
response.write recipArray(iLoop) & "<br>"
Next
%>
....should return
Noel
John
Phil
(given that """ & replace(rsallcorres("recipients"), ",", "","") & """ returns "Noel","John","Phil"
But instead it returns
"Noel","John","Phil"
ps, I am using '& quot ;' in the replace function but it appearing in the post as """...
I'm probably just being a bit stupid here but can anyone help before I go mad?
Cheers