cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

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

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

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

Hi @leyburn19 

 

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!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

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

Hi @leyburn19 

 

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!

View solution in original post

Highlighted
Super User
Super User

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

Brilliant.  Thank you

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,530)