Skip to content

SalesforceDev/StringUtil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

StringUtil Class

The following are methods for StringUtil.

match(String lengthContent, String shortContent, Boolean ignoreCase)

The shortContent is a word or in a word, if the lengthContent contains the shortContent, so returns true.

Example

System.assert(StringUtil.match('This is a test record.', 'record', true), true);
System.assert(StringUtil.match('This is a test record.', 'reco', true), false);

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

Releases

No releases published

Packages

No packages published

Languages