If you've got a list of valid apt numbers probably the most efficient thing to do would be create a hash and use that to validate
The danger here is when a valid apartment number (either now or in the future) is also a valid year.
The OP appears to have listed 2022 as being an apartment number - and that's certainly a valid year...
In reply to Re^2: Text switching
by Bod
in thread Text switching
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |