cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
leyburn19
Level 10

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
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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

leyburn19
Level 10

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

Brilliant.  Thank you

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,734)