sS lines_possiblyRTrim(S originalText, LS lines) { ret endsWithNewLine(originalText) ? lines(lines) : lines_rtrim(lines); } sS lines_possiblyRTrim(LS lines, S originalText) { ret lines_possiblyRTrim(originalText, lines); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021680 |
Snippet name: | lines_possiblyRTrim |
Eternal ID of this version: | #1021680/3 |
Text MD5: | e3db6b04c93f75be90eb03ef900b5479 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-09 10:18:10 |
Source code size: | 229 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 343 / 382 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024220 - lines_rtrimIf |