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

10
LINES

< > BotCompany Repo | #2000334 // Line replacer to text replacer (pseudo code)

New Tinybrain snippet

prepend:

  List<String> result = new ArrayList<String>();
  for line in toLines(s) {
  
append:

  result.add(line);
  }
  return fromLines(result);

download  show line numbers   

Snippet is not live.

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

2 comment(s) hidden. show

Snippet ID: #2000334
Snippet name: Line replacer to text replacer (pseudo code)
Eternal ID of this version: #2000334/1
Text MD5: 227e2eca8f1d8f81effe27b90283a946
Author: stefan
Category: javax
Type: New Tinybrain snippet
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-05-06 19:34:07
Source code size: 160 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 799 / 118
Referenced in: [show references]