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

3
LINES

< > BotCompany Repo | #1012247 // html_firstLinkURL - get URL of first <a href>

JavaX fragment (include)

static S html_firstLinkURL(S html) {
  ret getHtmlTagParameter(findTag(htmlTok(html), "a"), "href");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012247
Snippet name: html_firstLinkURL - get URL of first <a href>
Eternal ID of this version: #1012247/1
Text MD5: eb8b85d15bd5258afb1184731a276309
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-26 13:48:38
Source code size: 104 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 428
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)