This article demonstrates how to use Pattern and Matcher Apex classes in Salesforce.
How do I extract URLs from HTML content in Salesforce?
Sample HTML -
<html>
…
HTTP Callouts are used for integrating external REST-based services with Salesforce. Apex provides three built-in classes to work with HTTP services and create HTTP requests like …
In Spring 21 release, Salesforce introduced new method in System.Id namespace to convert 18 charater id to 15 character.
String Id_15_char = '0D5B000001DVM9t';
String Id_18_cha…
Salesforce provide set of methods for String manipulation. This article explains usage of each function with examples.
Truncate strings with ellipses.
abbreviate(maxWidth) re…
In Apex, this is a small coding issue can lead to serious calculation problems. When dividing numeric Integer or Long values, the fractional portion of the result, if any, is remov…
This is an unofficial list of Salesforce Coding Standards sourced from various guidelines & coding standards from the internet. Salesforce recommends following Java standards f…