1 | static S deSquareBracket(S s) {
|
2 | if (startsWith(s, "[") && endsWith(s, "]")) |
3 | ret substring(s, 1, l(s)-1); |
4 | ret s; |
5 | } |
Began life as a copy of #1013446
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: | #1013585 |
| Snippet name: | deSquareBracket |
| Eternal ID of this version: | #1013585/1 |
| Text MD5: | aaac02e07f43106aeaa756c7da0c1db9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-11 12:51:13 |
| Source code size: | 125 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 742 / 790 |
| Referenced in: | [show references] |