cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WillPage Skilled Sharer
Skilled Sharer

Remove text from the end of a string

Hello,

 

I have a label with its Text property like

Char(34) & Concat(ComboBox1.SelectedItems, displayName & Char(34) & Char(10) & Char(34))

This gives me a series of selected items names on new lines, surrounded in quotes, but I have a trailing quote I don't want:

 

"selection 1"

"selection 2"

"

 

How can I get rid of that last bit of text? The Trim fuction is only for spaces by the look of it..

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
WillPage Skilled Sharer
Skilled Sharer

Re: Remove text from the end of a string

Solved it!

Concat(ComboBox1.SelectedItems, Char(34) & Name & Char(34) & Char(10))

View solution in original post

1 REPLY 1
Highlighted
WillPage Skilled Sharer
Skilled Sharer

Re: Remove text from the end of a string

Solved it!

Concat(ComboBox1.SelectedItems, Char(34) & Name & Char(34) & Char(10))

View solution in original post

Helpful resources

Announcements
secondImage

Community User Group Member Badges

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

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,698)