stri_rand_shuffle(str)
See also stri_reverse
for a reverse permutation
of code points.
stri_rand_lipsum
;
stri_rand_strings
stri_rand_shuffle(c("abcdefghi", "0123456789"))
# you can do better than this with stri_rand_strings:
stri_rand_shuffle(rep(stri_paste(letters, collapse=''), 10))
Run the code above in your browser using DataLab