updated truncate help text
fixed truncate function

Truncate function was not working with unicode characters.
use hellip-character instead of "..." in truncate function