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

3
LINES

< > BotCompany Repo | #1029601 // beforeColonOrAll

JavaX fragment (include)

sS beforeColonOrAll(S s) {
  ret takeFirst(smartIndexOf(s, ':'), s);
}

Author comment

Began life as a copy of #1023945

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029601
Snippet name: beforeColonOrAll
Eternal ID of this version: #1029601/1
Text MD5: bb015a066226bca4d7d408e40dbfcdd6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-27 14:36:45
Source code size: 72 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 240
Referenced in: [show references]