static S quoteBorderless_less(O o) { if (o == null) return "null"; ret quoteBorderless_less(str(o)); } static S quoteBorderless_less(S s) { if (s == null) return "null"; StringBuilder out = new StringBuilder((int) (l(s)*1.5)); quoteBorderless_less_impl(s, out); ret out.toString(); } static void quoteBorderless_less_impl(S s, StringBuilder out) { int l = s.length(); for (int i = 0; i < l; i++) { char c = s.charAt(i); if (c == '\\') out.append('\\').append(c); else if (c == '\r') out.append("\\r"); else if (c == '\n') out.append("\\n"); else out.append(c); } }
Began life as a copy of #1012823
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: | #1012884 | 
| Snippet name: | quoteBorderless_less (leaves " as ") | 
| Eternal ID of this version: | #1012884/1 | 
| Text MD5: | 19812aef1c3f30bc3baa5edefb056a78 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-12-15 00:17:17 | 
| Source code size: | 655 bytes / 26 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 639 / 684 | 
| Referenced in: | [show references] |