static S multiLineQuote(S s) { for (int i = 0; ; i++) { S closer = "]" + rep('=', i) + "]"; if (!contains(s, closer)) ret "[" + rep('=', i) + "[" + s + closer; } }
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1008349 |
Snippet name: | multiLineQuote |
Eternal ID of this version: | #1008349/2 |
Text MD5: | 2c67749cb5553842f288c0de967bb37e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-09 15:03:45 |
Source code size: | 187 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 502 / 1191 |
Version history: | 1 change(s) |
Referenced in: | [show references] |