Platform: Unity 2018.2.20f1 Language: C# .Net 4.x
Scenario
I have a string which I would apply to a textmesh rendered in Unity. This rendering pipeline supports Rich text editing. http://digitalnativestudios.com/textmeshpro/docs/rich-text/
Request
Hence when I supply in a string, I would like to know character count which would exclude the characters used for Rich Text formatting.
Example
string _value = "We are <b><i>definitely not</i></b> amused";
// Character count should be 29 instead of 43
So what is the best way to implement it? Is there a module/resources online that would assist me in extracting the count?
Thank you, Karsnen