Word Count / Character Count for Blog Titles


#1

Submitting on behalf of a customer:

Hello, I am looking to use a HubL filter to get a character count for my blog titles. I can see on this developer doc < http://designers.hubspot.com/docs/hubl/hubl-supported-filters > that you can get a wordcount for a string, but is there a way to get a character count?

Thanks!


#2

@rarmistead It works the say way for counting characters of a string!

ex:
{% set services = ‘Peter’ %}
{{ services|length }}