substringAfter() :Used to find substring of string after particular character using Apex in Salesforce
Explanation :
String txtString = 'Xys@sfdcforyou.com';
String RemStr = txtString.substringAfter('@');
system.debug('RemStr===>'+RemStr);
Debug Output :
No comments:
Post a Comment