/*
11) Empty String >>><<<
*/
import org.apache.commons.lang.StringUtils;
public class StringUtilsTrial {
public static void main(String[] args) {
// If string is null, empty string returned. Else returns trimmed string
System.out.println("11) Empty String >>>" + StringUtils.trimToEmpty(null) + "<<<");
}
}
Apache-Common-Lang.zip( 248 k)