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

3
LINES

< > BotCompany Repo | #1019779 // afterSlash - empty if no slash

JavaX fragment (include)

1  
sS afterSlash(S s) {
2  
  ret substring(s, smartIndexOf(s, '/')+1);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019779
Snippet name: afterSlash - empty if no slash
Eternal ID of this version: #1019779/2
Text MD5: 27df208cf19d9ab4eed043850eeb0f55
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-29 12:15:33
Source code size: 68 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 388
Version history: 1 change(s)
Referenced in: [show references]