APEX SALESFORCE Salesforce Configuration Salesforce Customization Salesforce Interview Questions Salesforce.com

How to Convert 18 Digit Id to 15 Digit Id using Apex Class?

How to Convert 18 Digit Id to 15 Digit Id using Apex Class? Example1: convert the Id to a String and using substring(startIndex, endIndex) its possible to convert from 18 digit Id to 15 Digit Id. String AccountId = String.valueOf(Account.Id).substring(0,…

Read More