cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yanni99
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
v-litu-msft
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

@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.

v-litu-msft
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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (897)