this allows a new string to be created that consists of ’’n’’ random characters of the source string.
[Validate]