static PairS pairFromUglyString(S s) { if (empty(s)) null; int i = indexOf(s, '|'); int lA = parseInt(takeFirst(s, i)); ret pair(substring(s, i+1, i+1+lA), substring(s, i+1+lA+1)); }
Began life as a copy of #1024244
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: | #1024245 |
| Snippet name: | pairFromUglyString - see pairToUglyStringForCIComparison |
| Eternal ID of this version: | #1024245/1 |
| Text MD5: | 4167fad951558b58403c0658df226967 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-28 17:30:51 |
| Source code size: | 195 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 459 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |