Libraryless. Click here for Pure Java version (2276L/14K).
static ItIt<PairS> splitStringInTwo_iterator(S s) { ret mapI(range(1, l(s)), i -> pair(substring(s, 0, i), substring(s, i))); }
Began life as a copy of #1017804
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025972 |
Snippet name: | splitStringInTwo_iterator |
Eternal ID of this version: | #1025972/1 |
Text MD5: | 291a458f70131c951ecef05c05677c90 |
Transpilation MD5: | a824e63544153b9a0f9db5b7b8dcc76a |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-04 20:17:42 |
Source code size: | 131 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 203 / 296 |
Referenced in: | [show references] |