static S dropUntilDash(S s) { if (s == null) ret ""; int i = s.indexOf('-'); ret trim(i >= 0 ? substring(s, i+1) : s); }
Began life as a copy of #1007222
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: | #1008367 |
| Snippet name: | dropUntilDash - drop characters up and including to the first dash ("-"). Also trims |
| Eternal ID of this version: | #1008367/1 |
| Text MD5: | bbbf5fca8fb63210a2f81467f77e8487 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-09 22:16:52 |
| Source code size: | 130 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 681 / 731 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |