Skip to content

Conversation

@uzyn
Copy link

@uzyn uzyn commented Jan 3, 2025

String truncation by discarding the last word, similar to that of Jinja2's truncate filter.

Note: Jinja's filter named it killwords, which should probably be better named killword or discard_last_word. I am keeping it consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant