str_replace question
Posted: Tue Oct 13, 2009 9:27 am
Hi all,
I am using .txt file to tell a Flash front end all kinds of stuff and it works fine.
One issue is that a certain string in a txt file is regularly updated. The the last line reads:
&totalimgs=12 where the number 12 is always changing (upward).
I am using str_replace to strip out the line &totalimgs= but what do I add to take out
the number that follows it which could be up to five digits ?
Best wishes
Monty
I am using .txt file to tell a Flash front end all kinds of stuff and it works fine.
One issue is that a certain string in a txt file is regularly updated. The the last line reads:
&totalimgs=12 where the number 12 is always changing (upward).
I am using str_replace to strip out the line &totalimgs= but what do I add to take out
the number that follows it which could be up to five digits ?
Best wishes
Monty