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 6 years, 5 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

AI in Salesforce

Transform businesses with the power of Artificial Intelligence leveraged through Salesforce Einstein

Blog in

Artificial Intelligence is powering next-generation customer experiences with smart predictions, intelligent recommendations, timely automation and much more. Gartner predicts that by 2020, a staggering 85% of…

Popular Salesforce Videos