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

8
LINES

< > BotCompany Repo | #1000487 // reliableLongQuote

JavaX fragment (include)

s S reliableLongQuote(S s) {
 i i=0;
 w (contains(s, mk2(i)) ++i;
 ret mk(i)+s+mk2(i);
}

s S mk(i i) { ret "["+repeat('=', i)+"["; }
s S mk2(i i) { ret "]"+repeat('=', i)+"]"; }

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000487
Snippet name: reliableLongQuote
Eternal ID of this version: #1000487/1
Text MD5: 7a09480f6132ef5045d128e05b3315c7
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-09 04:47:28
Source code size: 185 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 558 / 492
Referenced in: [show references]