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

  • 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>