I'm wondering if it's possible to set a character (characters as in letters, no html elements or tags included) limit on a XhtmlString, and if yes, how can I do that? I found this thread from 2008, https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2008/3/Char-limit-on-XHTML-string/ which suggests using a custom built function.
↧