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

6
LINES

< > BotCompany Repo | #2000444 // function cncToLines

New Tinybrain snippet

1  
  static String cncToLines(List<String> cnc) {
2  
    StringBuilder out = new StringBuilder();
3  
    for (String token : cnc)
4  
      out.append(quote(token) + "\n");
5  
    return out.toString();
6  
  }

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

No comments. add comment

Snippet ID: #2000444
Snippet name: function cncToLines
Eternal ID of this version: #2000444/1
Text MD5: 41d564ec23c62fb7956ffa234cc3aba0
Author: stefan
Category: javax
Type: New Tinybrain snippet
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-07-06 18:44:32
Source code size: 199 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 613 / 828
Referenced in: [show references]