A
Anonymous
Guest
Hi everyone,
I have a small problem with part of my script, basically I have a string which contains an address for an image say: http://www.wherever.com/images/blahblah0322.jpg
The address, number length & extension will be different every time and what I need is to return the variable $number from an image address which will be "0322" in the case of the example.
I search the manual in the hope of finding a str_getlastnumberfromanimageaddress() function but couldn’t find one
Any suggestions gratefully received.
I have a small problem with part of my script, basically I have a string which contains an address for an image say: http://www.wherever.com/images/blahblah0322.jpg
The address, number length & extension will be different every time and what I need is to return the variable $number from an image address which will be "0322" in the case of the example.
I search the manual in the hope of finding a str_getlastnumberfromanimageaddress() function but couldn’t find one
Any suggestions gratefully received.