Salesforce Fact #516 | Delete all white spaces in apex string
In Apex, we have the trim() function to remove the leading and trailing spaces from the string. But what if we want to remove all the white spaces from the string. There is a method deleteWhitespace().
Attached are the screenshots.
Comments
Post a Comment