Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1004003 // onlyUntilComma

JavaX fragment (include)

static S onlyUntilComma(S s) {
  int i = s.indexOf(',');
  ret i >= 0 ? s.substring(0, i) : s;
}

Author comment

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: 544 / 544
Referenced in: [show references]