sS dropAfterSubstring(S s, S b) { ret substring(s, 0, smartIndexOf(s, b)); }
Began life as a copy of #1012500
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024627 |
| Snippet name: | dropAfterSubstring - return whole string if not found |
| Eternal ID of this version: | #1024627/2 |
| Text MD5: | 29a5999ed9e75f35bfddd3d6dde75051 |
| Author: | stefan |
| Category: | javax / strings |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-20 20:13:30 |
| Source code size: | 80 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 410 / 450 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |