Activity Forums Salesforce® Discussions What is the difference between isNotEmpty() and isNotBlank() in Salesforce?

  • What is the difference between isNotEmpty() and isNotBlank() in Salesforce?

    Posted by Marziya on May 11, 2020 at 1:30 pm

    What is the difference between isNotEmpty() and isNotBlank() in Salesforce?

    Anuj replied 4 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Anuj

    Member
    May 11, 2020 at 2:03 pm

    isNotEmpty() is used to find if the String is not empty and not null. isNotBlank() takes it a step forward. It not only checks if the String is not empty and not null, but also checks if it is not only a whitespace string

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos