Want to shuffle a string. This is my code: what is wrong about it? Thanks.
>> def string_shuffle(s)
>> s.split('').shuffle(s.length()).join
>> return s
>> end
Want to shuffle a string. This is my code: what is wrong about it? Thanks.
>> def string_shuffle(s)
>> s.split('').shuffle(s.length()).join
>> return s
>> end