Activity › Forums › Salesforce® Discussions › What is the use of normalizeSpace() of String Class in Salesforce ? Salesforce® Discussions What is the use of normalizeSpace() of String Class in Salesforce ? Posted by Kirandeep on August 27, 2020 at 1:20 PM What is the use of normalizeSpace() of String Class in Salesforce ? Anuj replied 5 years, 9 months ago 2 Members · 1 Reply 1 Reply Anuj Member August 27, 2020 at 2:06 PM Use this method to compare a string to an object that represents a string or an ID. Returns true if the secondString is not null and represents the same sequence of characters as the String that called the method, ignoring case. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me