I have a requirement to create case for specific subject email.I wrote an email service working well.
But now i try to capture some values from email body and need to updatein specific field.
Invoice Total Amount: 658.81 USD(includes taxes, shipping and handling)
I will try to use like emailBody.substring(22);
But, amount value will change accordingly.So i try to use string functions like ends with But i'm not able to achieve.