public static String truncate ( String text , Integer maxCharacters ) { return truncate ( text , maxCharacters , true ) ; }
Truncate the text adding ... . The ellipsis will be taken into account when counting the amount of characters .