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

4
LINES

< > BotCompany Repo | #1001536 // firstPartOfHelloString

JavaX fragment (include)

static S firstPartOfHelloString(S s) {
  int i = s.lastIndexOf('/');
  ret i < 0 ? s : rtrim(s.substring(0, i));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001536
Snippet name: firstPartOfHelloString
Eternal ID of this version: #1001536/1
Text MD5: 994425768ed0ef81951cdbe8cde74732
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-22 21:16:58
Source code size: 117 bytes / 4 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 653 / 2507
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)