Possible Duplicate:
How to do string conversions in Objective-C?
How can I convert a string to an integer in Objective-C?
Possible Duplicate:
How to do string conversions in Objective-C?
How can I convert a string to an integer in Objective-C?
int value = [string intValue];