Activity Forums Salesforce® Discussions How to check String contains only white space characters in Apex ?

  • Anjali

    Member
    August 28, 2020 at 12:13 pm

    isAlphaSpace() : This string method will return true, if the string contain alphabet and white spaces.

  • Manish

    Member
    August 28, 2020 at 3:50 pm

    <div aria-level="3" role="heading">Apex String Methods to Determine Character Types
    <div>

    1. isAlpha() : This string method will return true, if the string contain only characters.
    2. isAlphaSpace() : This string method will return true, if the string contain alphabet and white spaces.
    3. isAlphanumeric() : This string method will return true, if the string contain alphabet, numbers.

    </div></div>

  • Sumit

    Member
    August 30, 2020 at 4:09 pm

    isAlphaSpace() : This string method will return true, if the string contain alphabet and white spaces.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos