/** Strip white spaces from both end, and collapse white spaces * in the middle. * @param str what to strip * @return String the striped and collapsed string */ public static String stripAndCollapse(String str) { return collapseWhitespace(strip(str)); }
/** Strip white spaces from both end, and collapse white spaces * in the middle. * @param str what to strip * @return String the striped and collapsed string */ public static String stripAndCollapse(String str) { return collapseWhitespace(strip(str)); }
/** Strip white spaces from both end, and collapse white spaces * in the middle. * @param str what to strip * @return String the striped and collapsed string */ public static String stripAndCollapse(String str) { return collapseWhitespace(strip(str)); }