// if text trails with \n, drops the lines before that sS dropLastTwoLines(S s) { ret dropLastLine(dropLastLine(s)); }
Began life as a copy of #1005181
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: | #1023681 |
Snippet name: | dropLastTwoLines - not very efficient |
Eternal ID of this version: | #1023681/1 |
Text MD5: | e654ba06074aa67277ce1763f7e7c079 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-02 18:17:52 |
Source code size: | 123 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 265 / 299 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |