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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,256)