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

4
LINES

< > BotCompany Repo | #1025585 // withoutLinesEmptyAfterTrim

JavaX fragment (include)

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

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: 281 / 312
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025663 - withoutLeadingLinesEmptyAfterTrim