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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Flow to...
Power Automate
Unanswered

Power Automate Flow to Remove Delimiters from Form Responses Fails

(1) ShareShare
ReportReport
Posted on by 6
Hi everyone,
I’m trying to clean delimiters (like apostrophes) from Microsoft Forms responses using Power Automate.
 
The flow trigger: “When a new response is submitted” (Microsoft Forms)
Then I am using a Compose to check the logic and its response -  Substring(ColumnVal,1) to remove the delimiter as shown in the image
 
But I get an error, because it seems that delimiter is not read in Compose
Can anyone guide me how to handle this case?
I need to:
1. Remove unwanted character (', extra spaces)
2. Preserve valid content (numbers in this case)
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at
    You should use Trim() to remove leading and trailing spaces and Replace() to remove the single quotes or hyphens.  The results will be in string format so if you need numeric you should use float() or int() to translate the strings to number format.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • BBC_Astha Profile Picture
    6 on at
    When I am retrieving the cell data in power automate, I do not see '4, it comes up as without the delimiter and when I use any function it is working on not on '4. I am not able to proceed from here. can you guide me where I am going wrong?
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at
    So where is the '4 showing up if its not in Power Automate?  Is the question setup as a number question in MS Forms or a String?

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard