I am currently having a variant variable with string vartype. That specific variable may contain string such as "005" and I would like to change it to "5" (without converting it to a number), if it was a regular string I would have done it like so:
Do While Mid(x,1,1)=0 x = Right(x,Len(x)-1) Loop
But alas, I cannot do it with a variant. Is there a way to use the string functions on the variant \ convert the variant to regular string? if not, is there a different solution?