Text and Strings
Text manipulation and adjustments - How to work with text?
The easiest way to test your Jinja2 expressions is by using a Jinja2 evaluator with mock data (Don't include any sensitive data in those). Note, only standard Jinja2 expressions will work here, like if, elif, upper, etc.
Making strings UPPER case
Returns: THIS WILL BE UPPER CASE!
Making strings lower case
Returns: this will be lower case!
Concatenating Strings
Another common use-case is comma-separated concatenation:
Limiting or shortening strings to a certain number of characters:
To read up on string manipulation in all detail, check out: realpython.com - String manipulation.
Last updated