trims a string down to 500 characters . ellipses will be added if truncated . concode_field_sep Joiner TO_CSV concode_elem_sep Splitter UN_CSV concode_field_sep String listToCsv concode_elem_sep String trimAndReformatCsv concode_elem_sep List<String> subtractList concode_elem_sep List<String> csvToList
String function ( String arg0 ) { if ( arg0 . length ( ) <= 500 ) { return arg0 ; } return arg0 . subSequence ( 0 , 497 ) + "srini_string" ; }