Re: Strange NSString Behavior

2009-02-26 Thread Eric Gorr
On Feb 26, 2009, at 5:06 PM, Eric Gorr wrote: Unfortunately, I do not know what else you code might be doing that =20 would cause the behavior you are seeing. But, just playing around with dataString a little, I changed it to: NSString *dataString = [NSString alloc]; and when I ra

Re: Strange NSString Behavior

2009-02-26 Thread Eric Gorr
On Feb 26, 2009, at 12:58 AM, Kenneth Ramey wrote: I have a method, written in Objective-C, to parse a string, extracting several fields from it. Originally, I was pulling out a couple of float values and some int fields. Other fields in the string need to be treated as substrings. As I

Strange NSString Behavior

2009-02-26 Thread Kenneth Ramey
I have a method, written in Objective-C, to parse a string, extracting several fields from it. Originally, I was pulling out a couple of float values and some int fields. Other fields in the string need to be treated as substrings. As I researched how to deal with the substrings, I came