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 Apps - Building Power Apps
Answered

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.

 

 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 663 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 398 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard