// drop opening and closing tag, return new CNC static L<S> contentsOfContainerTag(L<S> tok) { ret tok == null ? null : subList(tok, 2, l(tok)-2); } static L<S> contentsOfContainerTag(L<S> tok, S tagName) { ret contentsOfContainerTag(first(findContainerTag(tok, tagName))); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003990 |
Snippet name: | contentsOfContainerTag |
Eternal ID of this version: | #1003990/2 |
Text MD5: | 3e83e495b0a1c45f2f23b5ee37c14557 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-20 17:58:38 |
Source code size: | 287 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 716 / 722 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026030 - joinContentsOfContainerTag #1030279 - replaceContentsOfContainerTag |