# Need to trim text

**URL:** <https://forum.bubble.io/t/need-to-trim-text/99787>\
**Category:** Questions\
**Created:** [July 1, 2020, 11:49am UTC](https://forum.bubble.io/t/need-to-trim-text/99787 "2020-07-01T11:49:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chagit.hazani](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@chagit.hazani](https://forum.bubble.io/u/chagit.hazani)\
**Post date:** [July 1, 2020, 11:49am UTC](https://forum.bubble.io/t/need-to-trim-text/99787/1 "2020-07-01T11:49:47Z")

</div>

Hi,  
I need to either present part of a String,  
or save part of that String into different field.  
e.g  
This a long sentence, I need only the first 15 chars -\> **This a long sen** (15 chars)

Is there a way to do that?

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [July 1, 2020, 11:54am UTC](https://forum.bubble.io/t/need-to-trim-text/99787/2 "2020-07-01T11:54:22Z")

</div>

Hi there, @chagit.hazani… the _:truncated to_ option is what you need…

> **[Bubble Reference](https://bubble.io/reference#Data.Messages.text.truncated)**
>
> Full reference for each Bubble element, feature, plugin. Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![chagit.hazani](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@chagit.hazani](https://forum.bubble.io/u/chagit.hazani)\
**Post date:** [July 1, 2020, 12:14pm UTC](https://forum.bubble.io/t/need-to-trim-text/99787/3 "2020-07-01T12:14:50Z")

</div>

🙈 It does, Thank you!

---

<div class="post-metadata">

**Author:** ![galeriadasmarcas](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@galeriadasmarcas](https://forum.bubble.io/u/galeriadasmarcas)\
**Post date:** [December 18, 2020, 5:46pm UTC](https://forum.bubble.io/t/need-to-trim-text/99787/4 "2020-12-18T17:46:35Z")

</div>

![truncaed](https://us1.discourse-cdn.com/bubble/original/3X/4/4/44f6097298d674daf67fb4fba969e4789b2be7aa.png)
