How can I return the first N number of characters ending with a complete word from a dash-delimited string? – SEO
I need a function that outputs first N number of characters in a dash-delimited input string. Requirements: If N drops in the middle of a word, include the last word in the output even if total gets more than N…