1 | s S reliableLongQuote(S s) { |
2 | i i=0; |
3 | w (contains(s, mk2(i)) ++i; |
4 | ret mk(i)+s+mk2(i); |
5 | } |
6 | |
7 | s S mk(i i) { ret "["+repeat('=', i)+"["; } |
8 | 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: | 559 / 494 |
Referenced in: | [show references] |