You need to sign in to do that
Don't have an account?
ZfactorForce
Search for Specific Word in Subject Line
Hi,
I have written an email service and I need to find a specific phrase in the subject line and place that phrase into my query for relating case.
The subject can come in such as this "ref ABC company DNA1234567 lets go ref" The specific word i need is DNA1234567... this DNA word can be max 10 characters or less. How do I parse out just DNA1234567 in apex code?
String EmailSubject = email.subject;
Please help
thanks
Z
I have written an email service and I need to find a specific phrase in the subject line and place that phrase into my query for relating case.
The subject can come in such as this "ref ABC company DNA1234567 lets go ref" The specific word i need is DNA1234567... this DNA word can be max 10 characters or less. How do I parse out just DNA1234567 in apex code?
String EmailSubject = email.subject;
Please help
thanks
Z
Please mark the answer as solved. :)
All Answers
Please mark the answer as solved. :)
DNA5360732 Test <== double space between the number 2 and Test...
I just want DNA5360732.... how can i achieve that, i tried changing the code above to split after the value was given and then re-do but it did not work...
Any suggestions?
Thanks
Z