# Over Text expression

**URL:** <https://forums.fusetools.com/t/over-text-expression/4038>\
**Category:** How-to Discussions\
**Created:** [February 28, 2017, 11:21am UTC](https://forums.fusetools.com/t/over-text-expression/4038 "2017-02-28T11:21:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![operate2v](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/operate2v/32/627_2.png) [@operate2v](https://forums.fusetools.com/u/operate2v)\
**Post date:** [February 28, 2017, 11:21am UTC](https://forums.fusetools.com/t/over-text-expression/4038/1 "2017-02-28T11:21:08Z")

</div>

Hi!

I want… If the number exceeds the specified number, it is expressed as “…”.

ex) expression “show me”.  
Text MaxLength=“3” , then…  
-\> “sho…”

Is there no way?

---

<div class="post-metadata">

**Author:** ![Kristian\_Hasselknipp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/kristian_hasselknipp/32/549_2.png) [@Kristian\_Hasselknipp](https://forums.fusetools.com/u/Kristian_Hasselknipp)\
**Post date:** [February 28, 2017, 2:30pm UTC](https://forums.fusetools.com/t/over-text-expression/4038/2 "2017-02-28T14:30:01Z")

</div>

Hi!

On Android and iOS export you’ll get “…” after your text if it is too long for the `Text` control. You won’t get the same result on local (desktop) preview however, but this works as expected on device.

If you however want to control this yourself, you’ll have to do it in JavaScript. It should be quite easy though. Something like:

(untested code ahead :))

```auto
var Observable = require("FuseJS/Observable");

var maxTextLength = 3;
var text = Observable("hello");
var textWithEllipses = text.map(function(x){
	if (x.length > maxTextLength) {
		return x.substring(0, maxTextLength) + "...";
	} else {
		return x;
	}
});

```

please let me know if this works for you

---

<div class="post-metadata">

**Author:** ![operate2v](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/operate2v/32/627_2.png) [@operate2v](https://forums.fusetools.com/u/operate2v)\
**Post date:** [February 28, 2017, 6:36pm UTC](https://forums.fusetools.com/t/over-text-expression/4038/3 "2017-02-28T18:36:05Z")

</div>

Thanks!
