Skip to content

Miscellaneous

stripLinks()

stripLinks() — returns any

Removes all links from an HTML string, leaving just the link text.

NameTypeRequiredDefaultDescription
htmlstringyesThe HTML to remove links from.
<!--- Outputs "<strong>Wheels</strong> is a framework for ColdFusion." --->

 #stripLinks("<strong>Wheels</strong> is a framework for <a href=""http://www.adobe.com/products/coldfusion"">ColdFusion</a>.")#