# Limit length in Variable Text

**URL:** <https://community.homey.app/t/limit-length-in-variable-text/161575>\
**Category:** Questions & Help\
**Tags:** homey-pro, advancedflow\
**Created:** [October 31, 2026, 10:34am UTC](https://community.homey.app/t/limit-length-in-variable-text/161575 "2026-10-31T10:34:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_Wevers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/d_wevers/32/16401_2.png) [@D\_Wevers](https://community.homey.app/u/D_Wevers)\
**Post date:** [October 31, 2026, 10:34am UTC](https://community.homey.app/t/limit-length-in-variable-text/161575/1 "2026-10-31T10:34:31Z")

</div>

Hi,

So for my Dashboard, I have an Variable in which notifications will be added to the existing variable.  
In short: If a Notification is made - then edit “TextVar” to " Notification \n TextVar"  
So it’ll add the notification to the TextVar.

My Question:  
How do I limit the text in this Variable?  
Is there a code to limit it to 100 characters?  
Or does it automatically skip the last piece of TextVar at a surtain limit?

I don’t want this variable to explode in time and I want to limit the recources needed by the dashboard.
