Documentation / @blazetrails/actionpack / ActionView / excerpt
Function: excerpt()
excerpt(
text,phrase,options?):string|null
Defined in: packages/actionview/dist/helpers/text-helper.d.ts:31
Parameters
| Parameter | Type |
|---|---|
text | string | null | undefined |
phrase | string | RegExp | null | undefined |
options? | ExcerptOptions |
Returns
string | null