I know it must be a very simple thing to do but I've never had to treat strings before (in Objective-C) and apparently there's not RegEx on Cocoa-Touch.
Well, the situation is:
- I have a text field to get a value (money, such as 32.10 for instance).
The problem:
- If the user types in a symbol such as @, /, # etc. my app will crash.
The Question: How can I treat this string to remove the symbols if there are any?