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
Super User

Re: How to add a space between two fileds

@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

Re: How to add a space between two fileds

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

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

 

Highlighted
Super User
Super User

Re: How to add a space between two fileds

@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

Re: How to add a space between two fileds

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

Re: How to add a space between two fileds

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,843)