>>In the present case, wouldn't it be simpler to do a padl(...) on whatever the user types, before doing the comparison?
>
>I dont' think so. There's no way to determine how many zero's to pad with. BOTH the following values should yield TRUE
>0024567890
>0000000290
I may have misunderstood the problem statement, but I thought in the table, data was filled out with zeros to a certain length, for example, 10 characters. If that is the case, whatever the user types should also be filled out to 10 characters.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)