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

3
LINES

< > BotCompany Repo | #1029917 // urlWithoutAnchor

JavaX fragment (include)

sS urlWithoutAnchor(S url) {
  ret takeFirst(url, smartIndexOf(url, "#"));
}

Author comment

Began life as a copy of #1029914

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1029917
Snippet name: urlWithoutAnchor
Eternal ID of this version: #1029917/4
Text MD5: 6d0f578c0a360763ca74dd1d8f7da9dd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-03 17:52:30
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 97 / 121
Version history: 3 change(s)
Referenced in: [show references]