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

7
LINES

< > BotCompany Repo | #1017596 // prependGlobalIDInNewLine - prepend "[id: dfjsfdsf]\n\n"

JavaX fragment (include)

1  
static S prependGlobalIDInNewLine(S s) {
2  
  ret prependGlobalIDInNewLine(aGlobalID(), s);
3  
}
4  
5  
static S prependGlobalIDInNewLine(S globalID, S s) {
6  
  ret "[id: " + globalID + "]\n\n" + s;
7  
}

Author comment

Began life as a copy of #1017595

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017596
Snippet name: prependGlobalIDInNewLine - prepend "[id: dfjsfdsf]\n\n"
Eternal ID of this version: #1017596/5
Text MD5: bde19fef8ae3bd41f248b0fed7b00a7c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 18:13:34
Source code size: 192 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 366 / 400
Version history: 4 change(s)
Referenced in: [show references]