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

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

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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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