MyStr = Format("HELLO", "<") ' Returns "hello".
MyStr = Format("This is it", ">") ' Returns "THIS IS IT".
function invertcase(byval s as string) as string
dim i as long, tmpstr as string
for i=1 to len(s)
tmpstr=mid$(s,i,1)
if tmpstr=ucase$(tmpstr) then invertcase=invertcase+lcase$(tmpstr) else invertcase=invertcase+ucase$(tmpstr)
next
end function
Сейчас этот форум просматривают: AhrefsBot и гости: 2