Xbasic
RAND_STRING Function
Syntax
Random_String as C = Rand_String(N Length )
Arguments
- Length
The number of characters to place into Random_String. Numeric
Description
Returns a random character string of Length characters.
Discussion
RAND_STRING() returns a random string of characters between a and z. The string has Length characters.
Example
The next time the function is evaluated, it will produce a different string.
rand_string(4) -> "abnm"
See Also