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

3
LINES

< > BotCompany Repo | #1023945 // beforeColon

JavaX fragment (include)

sS beforeColon(S s) {
  ret takeFirst(indexOf(s, ':'), s);
}

Author comment

Began life as a copy of #1020747

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: #1023945
Snippet name: beforeColon
Eternal ID of this version: #1023945/1
Text MD5: b985cd8999936ff5a190d055c4fbe251
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-13 21:30:54
Source code size: 62 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 220
Referenced in: [show references]