Package org.apache.jorphan.util
Class StringUtilities
java.lang.Object
org.apache.jorphan.util.StringUtilities
Functions that are missing in other libraries.
- Since:
- 5.6
-
Method Summary
-
Method Details
-
count
Counts the number of times a given char is present in the string.- Parameters:
input
- input stringch
- char to search- Returns:
- number of times the character is present in the string, or 0 if no char found
-