Warning: session_start(): open(/var/lib/php/sessions/sess_dd1idr9hcesk74moiuic3ij4s4, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
urlFileName - part after last slash in URL [1035305]

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: 624 / 753
Version history: 1 change(s)
Referenced in: [show references]