static S substringAntitrimIndexOf(S s, S sub) { int i = indexOf(s, sub); if (i < 0) null; ret substringAntitrim(s, i, i+l(sub)); }
Began life as a copy of #1014463
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: | #1014464 |
Snippet name: | substringAntitrimIndexOf |
Eternal ID of this version: | #1014464/1 |
Text MD5: | 7fba1aca4a544f4b8b9affcac5bed4f5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-22 01:25:23 |
Source code size: | 140 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 323 / 366 |
Referenced in: | [show references] |