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

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (54,881)