static L<S> tokSplitAtComma(S s) { L<S> tok = javaTok(s); new L<S> l; while (l(tok) > 1) { int i = smartIndexOf(tok, ","); l.add(trim(join(subList(tok, 0, i)))); tok = subList(tok, i+1); } ret l; }
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: | #1007456 |
Snippet name: | tokSplitAtComma |
Eternal ID of this version: | #1007456/3 |
Text MD5: | 9619237de740f3165a38f0a5bb6c6f48 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-23 21:26:45 |
Source code size: | 228 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 521 / 579 |
Version history: | 2 change(s) |
Referenced in: | [show references] |