what is the jquery function to hide words that exceed a certain number.

what is the jquery function to hide words that exceed a certain number.

hi everyone

what is the jquery function that will enable me to count the number of words in a statement and then select the words that exceed a certain amount.

i will explain further. i only want the first 1000 words in a statement to show and to then hide the rest using the .hide() function.

what jquery function will allow me to do this.

thanks eveeryone for your help.

warm regards

Andreea 115