Get only X amount of characters in a div?

Get only X amount of characters in a div?

I only want the first 300 characters of a div named .newsbody and then put "..." after it.

I can't work out how to trim the div to 300 chars, any links to help me?