next up previous contents
Next: Basic Visualization Functions Up: Randomization Previous: Random Permutations

Scrambling Strings

The Scramble function produces a permutation of a string.

> Scramble('I am all mixed up');
I uep mmlldi aax 
> Scramble('I am all mixed up');
u pm la liIda xem

Like the CreateRandPermutation function, Scramble uses the same seed as the function Rand. Issuing either SetRand or SetRandSeed effects the generated sequence.



Gaston Gonnet
1998-09-15