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

3
LINES

< > BotCompany Repo | #1030489 // htmlCommentContents - expects input to be nothing but a HTML comment, returns its contents

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

Libraryless. Click here for Pure Java version (2715L/16K).

sS htmlCommentContents(S s) {
  ret trim(dropPrefixSuffix("<!--", "-->", trim(s)));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030489
Snippet name: htmlCommentContents - expects input to be nothing but a HTML comment, returns its contents
Eternal ID of this version: #1030489/1
Text MD5: 02ce39d57dd44b97ea1967680eb208a7
Transpilation MD5: 4841d78f8a1e1354716a71e0ce5c0c82
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-28 00:04:56
Source code size: 87 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 154
Referenced in: [show references]