Platforms to show: All Mac Windows Linux Cross-Platform

RandomBytesStringMBS(Length as Integer, ASCII as boolean=false) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a string with random content.
Example
dim s as string

s = RandomBytesStringMBS(10, true)

MsgBox s

s = RandomBytesStringMBS(10, false)

MsgBox s

Length is the number of bytes in the string.
If ASCII is true the string returned in an ASCII string.

Some examples using this global method:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...