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)

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

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz, vdyxwxlmubrt

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: 457 / 938
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003368 & http://1003368.tinybrain.de