Extracts an excerpt from text that matches the first instance of a given phrase.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text | string | Yes | The text to extract an excerpt from. | |
phrase | string | Yes | The phrase to extract. | |
radius | numeric | No | 100 | Number of characters to extract surrounding the phrase. |
excerptString | string | No | ... | String to replace first and/or last characters with. |
#excerpt(text="ColdFusion CFWheels is a Rails-like MVC framework for Adobe ColdFusion, Railo and Lucee", phrase="framework", radius=5)# -> ... MVC framework for ...