Randomizer.randomizer
You're seeing just the function
randomizer
, go back to Randomizer module for more information.
Generate random string based on the given legth. It is also possible to generate certain type of randomise string using the options below:
- :all - generate alphanumeric random string
- :alpha - generate nom-numeric random string
- :numeric - generate numeric random string
- :upcase - generate upper case non-numeric random string
- :downcase - generate lower case non-numeric random string
Example
iex> Iurban.String.randomizer(20) //"Je5QaLj982f0Meb0ZBSK"