Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
LEN

LEN

Returns the number of characters in a specified text string.

Use

LEN(text) and replace text with the field or expression whose length you want returned.

Formula Example
Formula Example
LEN(PartNumber__c)

This formula returns the number of characters in a Product Code field.

 
Loading
Salesforce Help | Article