Closed carlosandresSanchez closed 9 years ago
Let me know if this works for you
what I need is the cleaned string. If with my masked string i Have 55 5555 5555, what I want is to get the string : "5555555555".
Did you try using the validCharactersForString:
method I described?
Yes, excuse me. it works with the validCharactersForString:
method.
Thank you so much!!
Excellent!
@carlosandresSanchez, what do you mean by "original string"? The cleaned string?
You can access the current value of the textfield normally as
textfield.text
or you may need something like[textfield.mask validCharactersForString:textfield.text]
.