At 09:26 AM 10/08/2001 -0700, James Kelty wrote: >What is the best, or workable, way to count the elements in a string? >For instance, if someone enters a desired password through a form, >I would like to be able to make sure that it is a certain length. >I though about using the length() function, but I am not sure if >that us secure.......
What would be insecure about using length() ? It's exactly the function you're looking for in this instance. Just make sure you check for whitespace, newlines and other goofy non-passwd complicant characters before doing the length check, of course. Aloha, mel -- mel matsuoka Hawaiian Image Productions Chief Executive Alphageek (vox)1.808.531.5474 [EMAIL PROTECTED] (fax)1.808.526.4040 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]