Transpiled version (2161L) is out of date.
static LS stringChunks(S s, int chunkSize) { int rows = intRatio_ceil(l(s), chunkSize); LS out = emptyList(rows); for y to rows: out.add(substring(s, y*chunkSize, (y+1)*chunkSize)); ret out; } static LS stringChunks(int chunkSize, S s) { ret stringChunks(s, chunkSize); }
Began life as a copy of #1020680
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027033 |
| Snippet name: | stringChunks |
| Eternal ID of this version: | #1027033/3 |
| Text MD5: | 8c9872de8ddfa99c2a8aa899e928cf16 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-28 21:26:48 |
| Source code size: | 292 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 567 / 742 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |