1 | static S skipDate_flex(S s) {
|
2 | if (regexpFinds("^\\d{4}/\\d{2}/\\d{2} \\d{2}:\\d{2} GMT", s))
|
3 | ret trimSubstring(s, indexOf(s, "GMT")+3); |
4 | ret s; |
5 | } |
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: | #1017520 |
| Snippet name: | skipDate_flex (dev.) |
| Eternal ID of this version: | #1017520/2 |
| Text MD5: | 65cd93185068d6d8d5733f42b26206a0 |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-25 12:42:57 |
| Source code size: | 156 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 598 / 602 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |