1 | static S deRoundBracket(S s) { |
2 | if (startsWith(s, "(") && endsWith(s, ")")) |
3 | ret substring(s, 1, l(s)-1); |
4 | ret s; |
5 | } |
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: | #1013446 |
Snippet name: | deRoundBracket - non-token version. see tok_deRoundBracket for token-aware version |
Eternal ID of this version: | #1013446/2 |
Text MD5: | 81d6513fb08e5f6e6d9eba2d7877ab1c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-05 22:45:53 |
Source code size: | 124 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 577 / 615 |
Version history: | 1 change(s) |
Referenced in: | [show references] |