static S onlyUntilSpace(S s) { int i = s.indexOf(' '); ret i >= 0 ? s.substring(0, i) : s; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003766 |
| Snippet name: | onlyUntilSpace |
| Eternal ID of this version: | #1003766/1 |
| Text MD5: | 017fca9688eabc68ef3d1fd10262d22f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-26 22:44:10 |
| Source code size: | 99 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 875 / 858 |
| Referenced in: | #1004003 - onlyUntilComma #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017113 - beforeComma |