Re: Getting a substring

2008-12-05 Thread Peter N Lewis
At 20:03 -0200 5/12/08, Ariel Rodriguez wrote: My question is simple, at least that is what i think :) I need to extract something like this: 01816560 from something like this: http://www..com/diario/2008/12/05/um/m-01816560.htm My first idea was to use - (NSArray *)componentsSeparatedBySt

Re: Getting a substring

2008-12-05 Thread Jerry Krinock
On 2008 Dec, 05, at 14:03, Ariel Rodriguez wrote: My question is simple, at least that is what i think :) I need to extract something like this: 01816560 from something like this: http://www..com/diario/2008/12/05/um/m-01816560.htm My first idea was to use - (NSArray *)componentsSeparat

Getting a substring

2008-12-05 Thread Ariel Rodriguez
My question is simple, at least that is what i think :) I need to extract something like this: 01816560 from something like this: http://www..com/diario/2008/12/05/um/m-01816560.htm My first idea was to use - (NSArray *)componentsSeparatedByString:(NSString *)separator with - first (to g