Libraryless. Click here for Pure Java version (10931L/60K).
1 | static LS tok_splitAtComma_unquote(S s) {
|
2 | ret tok_splitAtComma_unquote(javaTok(s)); |
3 | } |
4 | |
5 | static LS tok_splitAtComma_unquote(LS tok) {
|
6 | new LS out; |
7 | for i over tok: {
|
8 | int j = smartIndexOf(tok, ",", i); |
9 | out.add(unquote(trimJoinSubList(tok, i, j))); |
10 | i = j; |
11 | } |
12 | ret out; |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008393 |
| Snippet name: | tok_splitAtComma_unquote |
| Eternal ID of this version: | #1008393/5 |
| Text MD5: | ce44484791b7d130ed0dd3f7f543f819 |
| Transpilation MD5: | f266d04c6ecd61824c94203a5c439cbf |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-11-14 18:49:35 |
| Source code size: | 298 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 825 / 972 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |