1 | static S onlyUntilComma(S s) { |
2 | int i = s.indexOf(','); |
3 | ret i >= 0 ? s.substring(0, i) : s; |
4 | } |
Began life as a copy of #1003766
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004003 |
Snippet name: | onlyUntilComma |
Eternal ID of this version: | #1004003/1 |
Text MD5: | 80bd3725df5f5be0e7874d582915404b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-03 14:27:29 |
Source code size: | 99 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 547 / 549 |
Referenced in: | [show references] |