StringUtils: substring(String str, int start, int end)
/*
) Substring >>>UBST
*/
import org.apache.commons.lang.StringUtils;
public class StringUtilsTrial {
public static void main(String[] args) {
// SubString
System.out.println("8) Substring >>>" + StringUtils.substring("SUBSTRING", 1, 5));
}
}
Apache-Common-Lang.zip( 248 k)Related examples in the same category