Skip to content

Additional functions

Compare
Choose a tag to compare
@sauls sauls released this 05 Mar 20:31
· 32 commits to v1.x since this release
38b7377
  • truncate - truncates to given string length
  • truncate_words - truncates to given words count
  • truncate_sentences - truncated to given sentence count
  • truncate_html - truncates to given length preserving the html
  • truncate_html_words - truncates to given word count preserving the html
  • truncate_html_sentences - truncate to given sentence count preserving the html
  • count_words - counts words in a string
  • count_sentences - counts sentences in a string