Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2, 4, or 6 characters
Message
From
04/04/2001 11:12:02
 
 
To
04/04/2001 10:57:34
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00491867
Message ID:
00491881
Views:
21
?INLIST(LEN(lcVal), 2, 4, 6) AND PADL(INT(VAL(lcVal)), LEN(lcVal), '0') = lcVal

Will, I believe, give you what you want. You may need to ALLTRIM first.

Regards,

Duncan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform