Libraryless. Click here for Pure Java version (2850L/18K).
sS dropTrailingCommaFromAllLines(S s) { ret mapEachLine(s, line -> dropSuffix(",", rtrim(line))); }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030066 |
Snippet name: | dropTrailingCommaFromAllLines [also rtrims lines] |
Eternal ID of this version: | #1030066/1 |
Text MD5: | 0e452dce7429957bc29a93758b6c30fc |
Transpilation MD5: | 88d66e472f3a3cb8ed8d17d07c5bf500 |
Author: | stefan |
Category: | eleu / javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-04 11:23:00 |
Source code size: | 103 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 197 / 280 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |