How to get the body trimmed when loading nodes programmatically?
You can get the trimmed summary using text_summary() which will allow you to pass the text, input format and choose the text size (length) you want.