|
Hey guys,
All you people will probably find this easy, but I'm having a hard time with it...
How would you count all the numbers in a string together, past a certain point?
Let's say my string is this:
Person 1 - 60
AnotherPerson 2 - Extra Value - 42
YetAnotherOne - 61
I want that to output '163', which is 60+42+61. I just want to add the values after the last ' - ', but I honestly have no idea how to do that!
Thanks,
-PG
|