Java tutorial
/* Take ti... */ import org.apache.commons.lang.StringUtils; public class StringUtilsExampleV1 { public static void main(String args[]) { System.err.println(StringUtils.abbreviate("Take time off working", 0, 10)); } }