cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Split by capitalized word

I am trying to achieve a split, I have a super good marker which is first('BONJOUR') followed by the name and a last(''',''') . Works super great but 'Bonjour' is a  common greating in french so everytime someone reply 'Bonjour' this change what I want to extract. The never use 'BONJOUR' as a greating. There are no marker I can use in the HTML to extract the name, I would need to ask for a code change and this is not the time as online orders are through the roof. 

 

So my question is, is there anyway i could split using capitalized 'BONJOUR'?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @yanni99,

 

Yes, you could use a capitalized word to separate words, I guess the situation you are facing is to extract names from Emails or messages, but some additional keywords (Bonjour) will disrupt the extraction process, that what we are facing usually. The capitalized word is a good idea to do it and it indeed could work in split() function, there is an instance you could refer to:
Annotation 2020-04-09 112718.pngAnnotation 2020-04-09 112704.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User II
Super User II

@yanni99 

Hi there.  So, the split() function seems to be case sensitive.  I tried splitting the phrase "Bonjour World" on BONJOUR, and it didn't pick it up until I matched the casing.  

 

If you are unfamiliar with this function, check the docs and this fun video:

 

 

Keep us posted.

-Ed

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Community Support
Community Support

Hi @yanni99,

 

Yes, you could use a capitalized word to separate words, I guess the situation you are facing is to extract names from Emails or messages, but some additional keywords (Bonjour) will disrupt the extraction process, that what we are facing usually. The capitalized word is a good idea to do it and it indeed could work in split() function, there is an instance you could refer to:
Annotation 2020-04-09 112718.pngAnnotation 2020-04-09 112704.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,499)