web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trim or Remove last Po...
Power Apps
Unanswered

Trim or Remove last Position of a String

(0) ShareShare
ReportReport
Posted on by 43

Hi All,

I have collection(CatMaster) in that one of the Column(Tool) which is in the form of Table as show in  below Screenshot.

I have extracted table data in the of form String by using Concat Function and displayed into a gallery using Label control.

Collection Table Data:

satishkumark_1-1612789908640.png

 

Formula: Concat(ThisItem.Tool, Value &",") //"Text property of a Label (ToolsLbl) "

Output of Concat Function and displayed in to a label

satishkumark_0-1612789611802.png

Now I need to Remove or Trim Comma(,) at last position of a String and displayed into a same Label.

Any help would be greatly appreciated.

 

Regards,

Satish.

 

 

Categories:
I have the same question (0)
  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at
    Re: Trim or Remove last Position of a String

    Here is the information you need.   Look in the 'Trimming the End' section

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-concatenate

  • Verified answer
    satishkumark Profile Picture
    43 on at
    Re: Trim or Remove last Position of a String

    Hi JR,

    Thank you very much.

    It's Working .

    I have used Left  and Concat functions to trim End

    Formula: Left( Concat( ThisItem.Tool, Value & ", " ), Len( Concat( ThisItem.Tool, Value & ", " ) ) - 2)

     

    Satish

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard