Libraryless. Click here for Pure Java version (387L/3K/11K).
!752 p { for (S s : litlist("1 2 3", "1, 2, 3", "1,_2,_44", "_1 _2", "1,", ",1")) print(quote(s) + " => " + structure(splitIDs(s))); } static L<S> splitIDs(S s) { ret asList(s.split("[ ,]+")); }
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: | #1002667 | 
| Snippet name: | Test splitIDs | 
| Eternal ID of this version: | #1002667/1 | 
| Text MD5: | fa7a1e6dfb44b98e64dac9aa8230be89 | 
| Transpilation MD5: | dbbb308d291d8d067548cc8a429947f5 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX source code | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-02-11 01:14:45 | 
| Source code size: | 213 bytes / 10 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 748 / 849 | 
| Referenced in: | [show references] |