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)

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

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: 352 / 389
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021575 - afterEquals_trim
#1030949 - Transpiler output of #1031393
#1031325 - afterDollar - empty if no dollar