stripLinks()
Description
Removes all links from an HTML string, leaving just the link text.
Function Syntax
stripLinks(html)
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
html |
string |
Yes | |
The html to remove links from. |
Examples
#stripLinks("<strong>Wheels</strong> is a framework for <a href="http://www.adobe.com/products/coldfusion/">ColdFusion</a>.")#
-> <strong>Wheels</strong> is a framework for ColdFusion.
