cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WillPage
Level 8

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
WillPage
Level 8

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
WillPage
Level 8

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,479)