View Single Post
Old Jan 14th, 2006, 11:47 AM   #1
trinath
Newbie
 
Join Date: Jan 2006
Posts: 4
Rep Power: 0 trinath is on a distinguished road
String Manipulation in C

Hi all,

i have the following string as input :

"<iframe src="http://abcdef.com/asd/aaa/awerftya0480000008ave/direct;wi.120;hi.600/01?page=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="120" height="600">
<script language="JavaScript" type="text/javascript">
document.write('&lt;a href="http://abcdefr.com/c/d/odmfndfdin000008ave/direct;wi.120;hi.600/01/" target="_blank"&gt;&lt;img src="http://ssdfcreo.com/fed/up/asdasd58s5480000008ave/direct;wi.120;hi.600/01/"/&gt;&lt;/a&gt;');
</script><noscript><a href="http://asedfr.com/bbb/cdf/sdfdf222200008ave/direct;wi.120;hi.600/01/" target="_blank"><img border="0" src="http://asd.com/asdas/ssd/asdeffee000008ave/direct;wi.120;hi.600/01/" /></a></noscript></iframe>"

also some more lenghty strings i need to write then into files.

for that i need to reaplce " to \" in this string .

please help me how can i replace so using a C program.

thanks in advance,

Trinath somanchi,
Hyderabad.
trinath is offline   Reply With Quote