cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wangl2
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
mdevaney
Super User
Super User

@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
pstork
Frequent Visitor

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

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

 

mdevaney
Super User
Super User

@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

v-monli-msft
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.
wangl2
Frequent Visitor

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,008)