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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to trim white spac...
Power Automate
Answered

How to trim white spaces in a string without using trim text action in power automate desktop

(0) ShareShare
ReportReport
Posted on by 30

Hello everyone,


I want to remove all the white spaces in a string without using built in trim text action. Is there any function that can be used directly in the code like %Name.trim%.

Thanks,
Karthik.

  • Verified answer
    Karthik23 Profile Picture
    30 on at

    I found the solution my self.

    To trim any string value we have to using .trimmed method
    Example:- %Name.trimmed%

  • bensat2 Profile Picture
    75 on at

    i tried to do the trimmed as suggested please see my screen shot it is not working

    bensat2_0-1712070397255.jpeg

     

  • Karthik23 Profile Picture
    30 on at

    May I know how exactly the value is in package ID column. Please share the screenshot if possible.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard