Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          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