string functions
Posted: Wed Dec 01, 2004 10:20 pm
Please advise on best sollucion / commands to use!
I have a pages with code like:
So what is the best way for geting "NEED TO GET THIS OUT" and 'AND THIS TO' if this lines alvays same and what I need to get is not..
Please advise what should I use (like str_replace etc.)
Thank you,
Kanaps
I have a pages with code like:
Code: Select all
//............a lot before........
....write(getUserInfo(''NEED TO GET THIS OUT'', '4', 0, '', 1, false, false, 0));
document.write(' ї0/45]');
//--></SCRIPT>
-<BR>
<SCRIPT language=JavaScript type=text/javascript>
<!--
document.write(getUserInfo('AND THIS TO', '4', 0, '', 1, false, false, 0));
document.write(' ї0/61]');
//--></SCRIPT>....Please advise what should I use (like str_replace etc.)
Thank you,
Kanaps