How to get Subtype of variable?
It is very easy, we need to use the function provided in vbscripting i.e. Vartype
Vartype returns values in the form shown below:-
We need Vartype of a string variable,
Var1 = “UFThelp”
Msgbox (Vartype(Var1)) ‘8 will be returned