I have a string:
"somethingsomething-13-24"
I want to make two variables out of this: the "13" and the "24". The first set of characters will always be between two dashes (-). The second set will be after the second dash to the end of the string.
How would I do this with PHP?
Thanks.


Reply With Quote

Bookmarks