Skip to content
//ludeeus.dev
👋 Hello world?
🏠 Home AssistantBlueprint - Pause Playing Media During CallsTemplate - Get all entities from a groupTemplate - Get the user that changed an entityTemplate - List all active domainsTemplate - Share state between two entitiesTemplate - StringsTemplate - Translate strftime weekdayDiscord webhook notifier
🤬 OutletI have an errorMy custom cards don't workDuckDNS is not working
GitHub
Twitter

Strings

Table of contents
  • Get the last character of string
  • Get the second character of a string
Table of contents
  • Get the last character of string
  • Get the second character of a string

Get the last character of string

{{ my_test_json.unit[-1] }}

Get the second character of a string

{{my_test_json.unit[1]}}
Edit this page on GitHub