Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1030618 // randomOverAlphabet

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (2794L) is out of date.

sS randomOverAlphabet(int n, S alphabet) {
  ret stringFromRepF(n, () -> randomChar(alphabet));
}

sS randomOverAlphabet(S alphabet, int n) {
  ret randomOverAlphabet(n, alphabet);
}

Author comment

Began life as a copy of #1029100

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030618
Snippet name: randomOverAlphabet
Eternal ID of this version: #1030618/2
Text MD5: b1f2f22c24e3f1f6cfa9ef68a29405af
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-26 11:57:46
Source code size: 184 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 258
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)