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

3
LINES

< > BotCompany Repo | #1027044 // onlyLinesStartingWith

JavaX fragment (include)

sS onlyLinesStartingWith(S prefix, S text) {
  ret lines_possiblyRTrim(text, startingWith(lines(text), prefix));
}

Author comment

Began life as a copy of #1022453

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027044
Snippet name: onlyLinesStartingWith
Eternal ID of this version: #1027044/1
Text MD5: 7cb4938205457d6ab3ac42e853821ecf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-13 14:58:02
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 225 / 250
Referenced in: [show references]