Description:
|
Returns a random string determined by a mode and having a length n. |
Parameters:
|
Length n-The length of a string.
Mode constant-One of the following:
ALPHA-Returns only random letters.
ALPHA_LOWER-Returns random lowercase letters.
ALPHA_NUM-Returns random letters and numbers.
ALPHA_UPPER-Returns random uppercase letters.
ANY-Returns any random ASCII characters.
NUM-Returns only numbers.
RANGE-Returns ASCII characters in the range specified. |
Syntax:
|
$BFRandStr(n,[constant],[1..255],[1..255]) |
Example:
|
$BFRandStr(10) ; Returns 10 random characters. $BFRandStr(1,RANGE,65,67) ; Returns either A, B, or C. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center