add trancate_text method

Conflicts:
	Util/Text.php