1 | static S dropTrailingAngleBracketStuff(S s) { |
2 | if (!endsWith(s, ']')) ret s; |
3 | ret trimSubstring(s, 0, lastIndexOf(s, '[')); |
4 | } |
Began life as a copy of #1014535
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: | #1017386 |
Snippet name: | dropTrailingAngleBracketStuff |
Eternal ID of this version: | #1017386/1 |
Text MD5: | e1cd1278763a87a84801319b36e2ece0 |
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-19 17:07:42 |
Source code size: | 130 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 428 / 454 |
Referenced in: | [show references] |