SyntaxFix
Write A Post
Hire A Developer
Questions
{{ myentity.text|length > 50 ? myentity.text|slice(0, 50) ~ '...' : myentity.text }}
You need Twig 1.6