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

3
LINES

< > BotCompany Repo | #1035305 // urlFileName - part after last slash in URL

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7911L/44K).

sS urlFileName(S url) ctex {
  ret empty(url) ? null : afterLastSlash(new URL(url).getPath());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035305
Snippet name: urlFileName - part after last slash in URL
Eternal ID of this version: #1035305/2
Text MD5: 69dea7d05f9dd3492df46c7e2e6a65f0
Transpilation MD5: 5214f72428734babb2a5ba5a697f0ef0
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-29 05:30:16
Source code size: 98 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 217
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)