1 | static S totallyRandomChars(int n) {
|
2 | new StringBuilder buf; |
3 | repeat n {
|
4 | buf.append((char) random(0x10000)); |
5 | } |
6 | ret str(buf); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1011478 |
| Snippet name: | totallyRandomChars - may not be valid Unicode |
| Eternal ID of this version: | #1011478/2 |
| Text MD5: | f48c12e2d419608572662550c13aea05 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-30 02:16:19 |
| Source code size: | 142 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 630 / 685 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |