Labeled value widget - cannot display string or char variable

I understand, I am sure that my code is not perfect, in terms of optimising memory and stuff, but ESP32 has plenty of it, basically the job that ESP has to do is to count the interrupts triggered by a rain gauge, and control a relay accordingly, to cut down / or not, the 24V AC that powers solenoid for irrigation system. (Missing a part of code that is irelevant) Togheter with all this, I wanted to display weather station data in the same blynk project as the rain info, relay state and all that stuff!


Ok, going back to the problem, sincerely I do not know how to trim the string, nor quering its lenght…? Can you tell me how to do this?

Thank you!