Ultimately what I need is the PHP version of substring. I have a string that looks like this:
It could also be:
Meaning the number before the : could be of any length. The part after the : will always be 1 in length.
So what I want to do is this:
Is there an easier way to do this because I can't seem to find that specific functionality.