List of utility methods to do String Ends With
return ((lastSpaceIndex == (endIndex - 1)) || (strBuf.charAt(endIndex) == ' '));