You need to sign in to do that
Don't have an account?
Staci
Can you use two substringbefore?
I'm trying to copy a case comment from emails and i want it to cut off before text A or before text B.
CaseComment cc = new CaseComment(CommentBody=myCase.Last_email__c.substringbefore('Text A' OR 'Text B'),parentID=caseId);
What is the correct syntax? This above obviously does not work
CaseComment cc = new CaseComment(CommentBody=myCase.Last_email__c.substringbefore('Text A' OR 'Text B'),parentID=caseId);
What is the correct syntax? This above obviously does not work
may be you can use if check of particular text is present or not
All Answers
may be you can use if check of particular text is present or not