We should add the cutoff parameter found in the original version of Hacksaw back in (both for legacy reasons and also because it might prove useful in some cases).
Another way to limit content is by a cutoff string. This is similar to the way WordPress's "more" feature works. In your content you could add a specific string to indicate the spot you want the excerpt to stop. Let's say you want to use <!-- END --> to cut the excerpt off at that location; you would do this:
{{ entry.richTextField | hacksaw (cutoff='<!-- END -->') }}
We should add the
cutoff
parameter found in the original version of Hacksaw back in (both for legacy reasons and also because it might prove useful in some cases).