Here's what i want to do....
I have a string that is in a format like
"11-unable to allocate resources"
... etc (without the ")
i want to keep only the stuff before the '-'
in the previous examples i only want 4 and 11...