1 | static LPair<S> parseColonPropertyPairs(S text) {
|
2 | new LPair<S> l; |
3 | for (S s : tlft(text)) {
|
4 | int i = indexOf(s, ':'); |
5 | if (i > 0) |
6 | addPair(l, trimSubstring(s, 0, i), trimSubstring(s, i+1)); |
7 | } |
8 | ret l; |
9 | } |
Began life as a copy of #1020412
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021242 |
| Snippet name: | parseColonPropertyPairs |
| Eternal ID of this version: | #1021242/1 |
| Text MD5: | 9475c7afd6f0e2f5dfd890fc48a3f038 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-04 02:17:19 |
| Source code size: | 226 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 551 / 614 |
| Referenced in: | [show references] |