I would like to strip part of an NSString
.
in the following string I would like to just grab the digits before the "/sampletext1/sampletext2/sampletext3"
1464/sampletext1/sampletext2/sampletext3
I have already stripped out the web address before the digits, but can't figure out the rest. Sometimes the digits could be 3 or 4 or 5 digits long.
thanks