fcf.stripTags() function
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Removes HTML tags from a source string
Arguments
- Source string
Result
- Result string
Example: Function application
let newString = fcf.stripTags(`<header>Title</header>\n<div>Content</div>`);
console.log(newString);
Output:
Title
Content