Link to home
Start Free TrialLog in
Avatar of gerodim
gerodim

asked on

String Manipulation

Here's what i want to do....
I have a string that is in a format like
"4-status inactive"
"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...
any suggestions?

ASKER CERTIFIED SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gerodim
gerodim

ASKER

Thanx