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 / Find a return key char...
Power Automate
Answered

Find a return key character (Char(10) or Char(13)

(0) ShareShare
ReportReport
Posted on by 2,157

I have an issue where users poulate a text box in a SharePoint column with multiple emails.  When they do this they sometimes put a comma instead of a dot or the move the email to the next line with the enter key.  This generates an error in my flows as the emails are now invalid.  Emails need to be seperated by a semi colon.  I cannot use a people field as emails can be outside the company domain.

 

try as I might I cannot contain the user to get it right so must look at a correction process on data entry.  I can capture the comma but how would I capture a return key entry in a flow?

 

I want to create a condition that checks the text box,  if those characters exist I at least get a warning email.  Ideally I will look at a replace.  But if I use condition how would I find the return key? 

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

     

    You can initialise a string variable and in the value part, hit an enter. Now, get the column from your sharepoint and add a condition to check if that column contains the variable. Please see the screenshto below:

    enters.PNG

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

    Hi @leyburn19 

  • leyburn19 Profile Picture
    2,157 on at

    Brilliant.  Thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard