truncate string in data tables