Extracting a number from a string ??
I have a string like this:
The bold element "example.com/" will stay constant and so will the "-" (dash or hyphen )
immediately after the number. The other stuff can change a lot.
I need to extract the number. In this case it is 18
What would you say is the most efficient way to extract this using php ?
I will use the number to find the record by it's id number in the db table.
|All times are GMT +1. The time now is 02:54 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.