sS dropTrailingNumberFromAngleBracketCategory(S s) { if (!isAngleBracketed(s)) ret s; int i = l(s)-1; while (i > 1 && isDigit(s.charAt(i-1))) --i; if (i == l(s)-1) ret s; ret substring(s, 0, i) + ">"; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017301 |
Snippet name: | dropTrailingNumberFromAngleBracketCategory |
Eternal ID of this version: | #1017301/1 |
Text MD5: | 52c75753f13667a1c0a804e56b5f267c |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-16 15:33:51 |
Source code size: | 218 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 314 / 352 |
Referenced in: | [show references] |