cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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