This has a 'homework smell'. What if they enter A1B2C3D4E5?
What if they enter 1010101010? What if they enter abc12abcd1234xyz97431? What if they enter nothing? What if they enter $...@%@^...@!@#...@#$%? I don't mind doing people's homework for them, but I would appreciate seeing the proper specs. On Mon, Aug 17, 2009 at 11:44 AM, digger_54<[email protected]> wrote: > > Hi, > > My problem, I have a textbox for a car number > > the user can enter whatever he wants they want in the car number > textbox > > lets say they enter abc1234 > > I need this to format out to abc 001234 - total of 10 characters > > if they enter abcd1234 it needs to be abcd 01234 > > if they enter abcde1234 it neeeds to be abcd 1234 > > Please help, thanks >
