Hi folks,
I'm completely new to Iphone programming so please bear with me.
I need to make some somewhat complex checks on text entered into a UITextField. The problem is I want to be able to grab the word and give the user the option to strip any spaces, numbers or special characters from it. First I obviously need to checked if any such characters exists. My intial thoughts was to grab the word and seperate the letters into an array so that they can be check individually.
I come from SQL programming where string manipulation is much simpler so I'm still trying to wrap my head around NSString methods and which combinations will help me achieve my goal. Maybe I need to consider looking at the NSScanner class.
Any thoughts or suggestions would be great.
Thanks,
I'm completely new to Iphone programming so please bear with me.
I need to make some somewhat complex checks on text entered into a UITextField. The problem is I want to be able to grab the word and give the user the option to strip any spaces, numbers or special characters from it. First I obviously need to checked if any such characters exists. My intial thoughts was to grab the word and seperate the letters into an array so that they can be check individually.
I come from SQL programming where string manipulation is much simpler so I'm still trying to wrap my head around NSString methods and which combinations will help me achieve my goal. Maybe I need to consider looking at the NSScanner class.
Any thoughts or suggestions would be great.
Thanks,