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

3
LINES

< > BotCompany Repo | #1029792 // splitAtSpace_trim - splits at \s+, returns only non-empty entries, trims all

JavaX fragment (include)

static LS splitAtSpace_trim(S s) {
  ret nempties(trimAll(splitAtSpace(s)));
}

Author comment

Began life as a copy of #1003368

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029792
Snippet name: splitAtSpace_trim - splits at \s+, returns only non-empty entries, trims all
Eternal ID of this version: #1029792/1
Text MD5: 22a04c99d53e76fce10bb7526a0f85d1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-17 12:09:12
Source code size: 80 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 295
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1029818 - splitAtComma_trim - splits at comma, returns only non-empty entries, trims all
#1030949 - Transpiler output of #1031393