How to convert from 18 Digit Salesforce ID to 15 Digit ID Using Apex Class ?
String Id= ’00111000009lpABAAY’;
String Id15Digit = Id15Digit .substring(0, 15);
system.debug(’15 Digit ID”+ Id15Digit );
Change Code As par your need.
An effort to bring a revolution in Salesforce.
© Salesforce 2016 . Distributed by Blogger Template . Created by Weblogtemplates
No comments:
Post a Comment