# Handlebars calculate string length after replace

**URL:** <https://connective.celigo.com/t/handlebars-calculate-string-length-after-replace/1128>\
**Category:** Integrator.io\
**Tags:** handlebars, javascript\
**Created:** [May 5, 2021, 11:24am UTC](https://connective.celigo.com/t/handlebars-calculate-string-length-after-replace/1128 "2021-05-05T11:24:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![courtneyjordan](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@courtneyjordan](https://connective.celigo.com/u/courtneyjordan)\
**Post date:** [May 5, 2021, 2:16pm UTC](https://connective.celigo.com/t/handlebars-calculate-string-length-after-replace/1128/2 "2021-05-05T14:16:26Z")

</div>

Hi @hristinabendeva615,

You should be able to use #compare handlebar to check the length of a string. Check this [community post](https://connective.celigo.com/t/how-to-use-handlebars-to-return-the-length-of-a-string/1490). Let us know if you have other questions or this doesn't solve your issue!

---

_[View the full topic](https://connective.celigo.com/t/handlebars-calculate-string-length-after-replace/1128)._
