As you can see, there are obviously few spaces and new lines, idk how that happened, but need to remove spaces and new lines.
P.S 43 is stored in variable of string type
Any hint? Thanks in advance.
use that stringVariable.Trim and show it in the message box
strOutput.Replace(Environment.NewLine.ToCharArray, string.Empty).Trim().ToString
1 Like
simply use the trim operation on that variable
Lets say variable is strVar
then use:- strVar.tostring.trim
1 Like
I’ve totally forgot Trim function.
Thanks all.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.