<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>I am wondering has
any suggestions as to how I could implement a replace function. Essentially I
would like to parse out tags like <bind field="x"> and replace it with the
value of x as a String</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002><hello></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
<xxx/></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
<bind field="x"/></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
<yyy/></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
more text here</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></hello></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002>becomes</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002><hello></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
<xxx/></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
value of x here</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
<yyy/></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>
more text here</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></hello></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=453521420-04022002>Any suggestions on
the best way to achieve this?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=453521420-04022002>Rob.</SPAN></FONT></DIV></BODY></HTML>