cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alpha
Frequent Visitor

How to show all spaces in a String

Hello Everyone:

 

Currently I met a problem when develop my application,In mysql database, the value of  one column has 2 spaces in the middle

of string, but When I  use gallery to select this record , I found that  1 space was missing, So how should I show all the  spaces

in the middle of string?

 

All the function I found is how to delete spaces......

 

Thanks !!! 

4 REPLIES 4
Anonymous
Not applicable

it would appear that MS automatically strips out additional spaces when displaying data - and not just in PowerApps.

 

I set up a quick Sharepoint List and added some text with single, double and triple spacing in it.

 

PA shows then all with single spacing

space1.JPG

 

Then, when looking at the same list in Sharepoint, I get the same single space...

space2.JPG

However, when editing in Sharepoint, the true spacing is shown...

space3.JPG

So, I suspect his is one of those lovely Microsoft "Features"...and you're stuck with single spacing. 😞

alpha
Frequent Visitor

WOW, Thanks for your answer and test !

 

Personally I like this lovely feature of Microsoft, but in my case , there is no solution for that ?

Hope there will be a developer of PowerApps show up and help me out~

Anonymous
Not applicable

Put is as a development suggestion?

 

A "show as true" attribute on the text field perhaps?

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

alpha
Frequent Visitor

Already done.

Thanks for suggestion

Welcome to vote

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (22,310)