Randomly Shuffle Code Points in Each String
Generates a (pseudo)random permutation of the code points in each string.
stri_rand_shuffle(str)
str |
character vector |
This operation may result in non-Unicode-normalized strings and may give peculiar outputs in case of bidirectional strings.
See also stri_reverse
for reversing the order of code points.
Returns a character vector.
Other random:
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))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.