Home 2021 02

Month: February 2021

  • How to Trim Strings and Keep HTML Tags – Snippet Included

    There are a lot of methods for trimming strings that take into account the number of chars versus the number of words, but things get a bit complicated when we need to keep the HTML tags at the same time. Don’t they?…