the
type can be one of the following:
1 = Alpha (ABCDEFGHIJKLMNOPQRSTUVWXYZ)
2 = Digits (0123456789)
3 = Alpha+digits (ABCDEF0123456789)
4 = Safe alpha (ABCDEFGHKMNPQRSTUVWXYZ)
5 = Safe alpha+digits (ABCDEFGHKMNPQRSTUVWXYZ23456789)
6 = Hex digits (ABCDEF0123456789)
7 = GUID (012345678-9ABC-DEF0-1234-56789ABCDEF0)
8 = MongoID (0123456789abcdef012345678)
9 = Hex lowercase digits (0123456789abcdef)
s = strguid(1)
s = strguid(2)
s = strguid(3)
s = strguid(4)
s = strguid(5)
s = strguid(6)
s = strguid(7)
s = strguid(8)
s = strguid(9)
s = strguid(1, 5)