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)

static S prependGlobalIDInNewLine(S s) {
  ret prependGlobalIDInNewLine(aGlobalID(), s);
}

static S prependGlobalIDInNewLine(S globalID, S s) {
  ret "[id: " + globalID + "]\n\n" + s;
}

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: 367 / 400
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017597 - prependGlobalIDInNewLineAndIndent
#1017653 - prependGlobalIDInNewLine_opt - prepend "[id: dfjsfdsf]\n\n" if not there yet