Libraryless. Click here for Pure Java version (2352L/15K).
static S autoUnindent(S s) { int n = getIndent(s); if (n == 0) ret s; L<S> l = toLines(s); for (int i = 0; i < l(l); i++) l.set(i, substring(l.get(i), n)); ret fromLines(l); }
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