[SOLVED ] str_replace
Posted: Tue Sep 07, 2004 6:47 pm
i wanted to replace the following
lets say string looks like this
/word/number/number.doc
this should become
number.doc
the first i dont have troubles with.
the first number i do.. since this is not always the same
i tried replacing /%/ and /*/ neither of them seemed to work.
lets say string looks like this
/word/number/number.doc
this should become
number.doc
the first i dont have troubles with.
the first number i do.. since this is not always the same
i tried replacing /%/ and /*/ neither of them seemed to work.