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

4
LINES

< > BotCompany Repo | #1025585 // withoutLinesEmptyAfterTrim

JavaX fragment (include)

1  
sS withoutLinesEmptyAfterTrim(S text) {
2  
  LS lines = filter(lines(text), s -> !emptyAfterTrim(s));
3  
  ret lines_possiblyRTrim(text, lines);
4  
}

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: #1025585
Snippet name: withoutLinesEmptyAfterTrim
Eternal ID of this version: #1025585/1
Text MD5: 517934b07fa590c5e8f139439773a646
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-05 16:51:18
Source code size: 147 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 225
Referenced in: [show references]