cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
xzhang136
Level: Powered On

How to Limit length of string displayed?

How to limit length of string/text shown? 

Hey guys, I want to achieve the following: instead of showing "Depreciation and Value Cost Estimate", i only want to show the first 10 letters, "Depreciation". 

 

How can i achieve that? One post mentioned : Set(MaxValue, 40), however it is intended for text input. 

But mine is not user text input, it is directly from my data source. 

 

In addition, Len(mytext) only get me the number of char i have, but it doesnt achieve my goal. 

1 ACCEPTED SOLUTION

Accepted Solutions
datamaster
Level 8

Re: How to Limit length of string displayed?

How about Left(mytext,10)

View solution in original post

2 REPLIES 2
datamaster
Level 8

Re: How to Limit length of string displayed?

How about Left(mytext,10)

View solution in original post

xzhang136
Level: Powered On

Re: How to Limit length of string displayed?

Hey it worked like a charm!

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,538)