static S dropAfterSubString_orNull(S s, S b) { int i = indexOf(s, b); if (i < 0) null; ret substring(s, 0, i); }
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: | #1012500 |
Snippet name: | dropAfterSubString_orNull |
Eternal ID of this version: | #1012500/2 |
Text MD5: | 2156aa599c7344aafd818393a17c63d9 |
Author: | stefan |
Category: | javax / strings |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-04 01:01:06 |
Source code size: | 122 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 398 / 424 |
Version history: | 1 change(s) |
Referenced in: | [show references] |