I have an Angular 5 application and I have a text area input in one of my component html, where the user can type in various characters. I would like to calculate the message segment count from the user entered characters . Any idea how I can do it?
There is this post Calculate SMS Length/Parts C#, however I am not able to convert the code to typescript.