This function truncates a string to a specific number of words.
The text to truncate.
The maximum number of words.
Optional
The suffix to append if truncated.
The truncated text.
This function truncates a string to a specific number of words.