×

Random Text

iOS 15 +

Notes

Returns random text of the given length. This can be useful as a placeholder, token, etc. If you specify a "seed", the generated text will always be the same if the seed is the same.

Syntax

randomText(length: <#Integer#>, useCustomCharacters: <#Boolean#>, useLowercase: <#Boolean#>, useUppercase: <#Boolean#>, useDigits: <#Boolean#>, customCharacters: <#String (Allows Variables)#>, seed: <#String (Allows Variables)#>)

Example

randomText(length: 25, useCustomCharacters: true, useLowercase: true, useUppercase: true, useDigits: true, customCharacters: ""-"", seed: "Jellycts!")