R
Roland Hall
I have a little test that replaces the same character with two different
values. Currently I have to process it twice. Is it possible to do it all
at once?
dim a, z
a = "a,b,c"
z = replace(a,",","x",1,1)
Response.write(replace(z,",","y"))
I'm thinking regular expressions are the way to go but in use it will have
to replace a single character with an XML tag.
TIA...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
values. Currently I have to process it twice. Is it possible to do it all
at once?
dim a, z
a = "a,b,c"
z = replace(a,",","x",1,1)
Response.write(replace(z,",","y"))
I'm thinking regular expressions are the way to go but in use it will have
to replace a single character with an XML tag.
TIA...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp