Hi,
I don’t have the code that you mention, for me the line looks like this:
$content = apply_filters(‘the_content’, substr(strip_tags($post->post_content), 0, 100));
which explains, why the line is truncated after exactly 100 characters.
Why aren’t you using https://codex.wordpress.org/Function_Reference/get_the_excerpt?