Function file

A function to truncate text .
Give a text and it would return it with your maximum character .