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

3
LINES

< > BotCompany Repo | #1028027 // htmlExtractTitle (and HTML-decode)

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

Libraryless. Click here for Pure Java version (2842L/19K).

sS htmlExtractTitle(S html) {
  ret htmldecode_dropAllTags(trimJoin(contentsOfContainerTag(htmlTok(html), "title")));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028027
Snippet name: htmlExtractTitle (and HTML-decode)
Eternal ID of this version: #1028027/2
Text MD5: 57aa4a44b83703c8b3979a38df719928
Transpilation MD5: 0ffc9a829069381790d77a53cff68557
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-04 01:22:15
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 275
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)