garbled-string

Garbled String

version 1.0.0 (Compatible with OutSystems 11)
Published on 17 January 2019 by 
0.0
 (0 ratings)
garbled-string

Garbled String

Details
Generate a garbled (random) string, with a specific length. Can be used as a function. Choose to use lower case, upper case, numbers, symbols, or your custom set of characters.
Read more

Creates a string with a given length, a custom set, and parameters (use lowercase, user uppercase, use numbers, use symbols).

Demo page included.

Usage:

GarbleString(Length, CustomSet, UseLowercaseLetters, UseUppercaseLetters, UseNumbers, UseSymbols)

Returns: Text with the length requested.


Examples: 

GarbleString(5, "", True, True, False, False) = WgyJe

GarbleString(10, "", True, False, False, True) = kva!rwr&vq

GarbleString(15, "AbBcC567", False, False, False, False) = 7CcC6CbBABbAc56


Length: Mandatory, Integer. Self explanatory.

All other parameters are optional, but one of them has to be used (either a custom set, or set to True one of the four optional params). Otherwise, it will return a default string. 


Using a custom set will override all other parameters. 


What’s new (1.0.0)
Reviews (0)