$WBRNDSTR - randomly generated string

Availability
$WBRNDSTR is available for use with all WBSP commands.

Syntax
$WBRNDSTR{length|type}
$WBRNDSTR[length|type]

Parameters
length - the length of a generated random string in characters
type - optional parameter - defines which characters will be used:
A - Alphanumeric (A-Z and 0-9)
L - Letters (A-Z)
N - Numbers (0-9) 


Returns
Randomly generated string.

Example

<!--
[FormFields]
wb_command=R
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>WBRNDSTR</title>
</head>
<body>
$WBRNDSTR[20|A]<br>
$WBRNDSTR[20|L]<br>
$WBRNDSTR[20|N]
</body>
</html> 

After running this example, the resulting page in browser should look like this:

V081XDSMKE21TE4VGABZ
ZQTLBHOJSDQJBJRLQKJD
33863882287748758754