Added in 1.9.0
Returns a random number or letter between v1 and v2.
Same as $rand.
See also $rands.
|v1||Start number or letter [0-9A-Za-z].|
|v2||End number or letter [0-9A-Za-z].|
if v1 and v2 are both numeric, returns random number in that range
otherwise returns a character in the range of characters v1 and v2
valid number range -2^63 through 2^63-1
; Get a random number between 10 and 100. //echo -ag $r(10,100) ; Get a random letter between g and y. //echo -ag $r(g,y)