Not sure if this is a bug or expected behaviour. I can’t find any useful documentation for how the function is supposed to work.
The issue I’m seeing is that generating a random string of 4 digits, will sometime generate a string of 3 digits. I need to consistently generate pin codes consisting of 4 digits.
Has anyone been having this issue or know more about how the length of characters is supposed to work?