Simply put,
I have a string with a prefix "msg" followed by some numbers that serve as the ID for a list item
e.g.
<li id="msg1"></li>..............<li id="msg1234567890"></li>
What is the most efficient way to grab just the numbers?
In VB, I'd do the following:
str = "msg1" str = right(str,len(str)-3)
How would I do something similar (or more efficient) in PHP?