본문으로 건너뛰기

strShuffle

받은 문자열을 무작위로 섞어서 반환합니다.

Parameters

이름타입필수기본값
strstringStringstr

Returns

string

String

str

Examples

javascript
strShuffle('abcdefg'); // e.g. 'bgafced'
dart
strShuffle('abcdefg'); // e.g. 'bgafced'
python
strShuffle('abcdefg')  # e.g. 'bgafced'

Released under the MIT License