1 | static L<S> eachCharAsString(S s) { |
2 | new L<S> l; |
3 | for i over s: l.add(substring(s, i, i+1)); |
4 | ret l; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006105 |
Snippet name: | eachCharAsString |
Eternal ID of this version: | #1006105/1 |
Text MD5: | 5f17de787ebafd229fac5372401f7926 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-18 12:16:50 |
Source code size: | 109 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 485 / 503 |
Referenced in: | [show references] |