Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1003368 // splitAtSpace - splits at \s+

JavaX fragment (include)

1  
static L<S> splitAtSpace(S s) {
2  
  ret empty(s) ? emptyList() : asList(s.split("\\s+"));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vdyxwxlmubrt, vouqrxazstgt

No comments. add comment

Snippet ID: #1003368
Snippet name: splitAtSpace - splits at \s+
Eternal ID of this version: #1003368/2
Text MD5: 04f9ecb1a906943bbb8c2dd1f29adc6d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-10 16:14:50
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 760 / 1280
Version history: 1 change(s)
Referenced in: [show references]