Java Utililty Methods String Ends With

List of utility methods to do String Ends With

Description

The list of methods to do String Ends With are organized into topic(s).

Method

booleanendsWithWord(StringBuffer strBuf, int endIndex, int lastSpaceIndex)
This method checks for the end Index value and returns true if it matches.
return ((lastSpaceIndex == (endIndex - 1)) || (strBuf.charAt(endIndex) == ' '));