1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

string format

Discussion in 'iPhone/iPad Programming' started by webznz, Apr 26, 2011.

  1. macrumors member

    #1
    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.
     
  2. macrumors 65816

    jnoxx

    #2
    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..
     

Share This Page