Added better truncate function to netsound review from litteratursiden