kyle, I think that looping through the array you should not take the first match, but also verify that it is the only match. This to enforce the "minimal unique" requirement: if there are two options beginning with "kn" then "kn" is not a valid input but perhaps "kno" is.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re^2: World Builder: the recovery and archeology of old programs.
by psini
in thread World Builder: the recovery and archeology of old programs.
by dwm042
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |