PDA

View Full Version : string format




webznz
Apr 26, 2011, 10:52 PM
Hey, I'm not sure how to refer to this.. I think its a string format but thought I would come here to get some help.

I am wanting to get my user to enter a 20 character string, they will be numbers and I want to after every fifth number to insert a hyphen.. as the person is typing... how can this be done?

thanks.



jnoxx
Apr 27, 2011, 02:20 AM
this would take a bit of work i think, but u should use the delegate method of a textField, didchangecharactersinrange or somewhat?
Think that should set u off..