Libraryless. Click here for Pure Java version (36L/1K).
sS stringFromFunction(int length, IF1_IntToChar f) { char[] chars = new[length]; for i to length: chars[i] = f.get(i); ret String.valueOf(chars); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033631 |
| Snippet name: | stringFromFunction |
| Eternal ID of this version: | #1033631/2 |
| Text MD5: | feb6a950681f5436801770810b380bf7 |
| Transpilation MD5: | ae7a8cd23329c0fef68c8ee1212ca015 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-12-22 14:40:10 |
| Source code size: | 162 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 328 / 443 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |