Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get (a-z) or (A-Z) or (0-9) with rand()?
Message
From
22/09/2005 18:38:02
 
 
To
22/09/2005 16:44:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01052187
Message ID:
01052215
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
>What do I have to do to have the following results
>
>Letter 'a' to letter 'z'
>or
>letter 'A' to letter 'A'
>or
>digit '0' to digit '9'
>
>While using the function RAND()?
? substr('AB...Zab...z01...9',RAND()*62+1,1)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform