cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

Solved it!

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

View solution in original post

1 REPLY 1
Highlighted
Impactful Individual
Impactful Individual

Solved it!

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

View solution in original post

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

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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