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

How to add a space between two fileds

Dear All,

I have a text filed, feeding from two columns of data from our spreadsheet: 'SC Firstname' and 'SC Lastname'

I used "&" to join them and pulled both first name and last name into the same Text Label on the App.

But the end result showing within the App is names with no space between first name and last name.

It looks like this:

Parent: JohnDoe

How can I insert a space in between?

Thank you very much!

 

Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

@pstork 

I would suggest using this code.  The double-quotes between & symbols here are used to represent a 1 character space.

ThisItem.'SC Firstname' & " " & ThisItem.'SC Lastname'

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

4 REPLIES 4
Highlighted
Frequent Visitor

Just manually add a space to the formula you are already using like this:

'SC Firstname' & ' ' & 'SC Lastname'

 

Highlighted
Super User III
Super User III

@pstork 

I would suggest using this code.  The double-quotes between & symbols here are used to represent a 1 character space.

ThisItem.'SC Firstname' & " " & ThisItem.'SC Lastname'

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Community Support
Community Support

Hi @wangl2 ,

 

Please test with what @mdevaney  suggested and tell if this has resolved your issue.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

Thank you @pstork and @mdevaney !

This forum is super helpful. I always get my answers from the lovely communities here.

The correction answer is the double quotes with the blank space. 

Thank you all again!

 

"Parent: " & ThisItem.'SC Firstname' & " " & 'SC Lastname'

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (13,069)