Hello all

I have copied a code from online to do some of my cad stuff. Code does change every character to upper case because of this line


char1=ucase(mid(str1,i,1))   '(its in loop and str1 is my entry. I do not understand what 1 is for)
but I want exact return. Example ABCDefgh must return ABCDefgh. So I did the below but does not work


char1=mid(str1,i,1)
anyhelp much appriciated

thanks
var