Re: NSString intValue
Re: NSString intValue
- Subject: Re: NSString intValue
- From: Ondra Cada <email@hidden>
- Date: Wed, 3 May 2006 15:18:08 +0200
Paolo,
On 3.5.2006, at 8:25, Paolo Bertani wrote:
convert the NSString to int, convert the int back to NSString,
compare the resulting NSString with the original one. If they are
equal then there are no mistakes on the text.
A bit dangerous: depends on whether an input of, say, "012" is
considered valid.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden