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

3
LINES

< > BotCompany Repo | #1012412 // hostNameFromURL

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

Transpiled version (3L) is out of date.

static S hostNameFromURL(S url) ctex {
  ret empty(url) ? null : new URL(url).getHost();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012412
Snippet name: hostNameFromURL
Eternal ID of this version: #1012412/2
Text MD5: d7898643fb0a41ebedc6f3f58f091c02
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-14 20:37:18
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 622
Version history: 1 change(s)
Referenced in: [show references]