Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Monday, 22 February 2021

Find the length of a given string, without using "len" function

 Find the length of a string, without using "len" function..?

x="String"

i=1

Do

   y=mid(x,i,1)

   if y="" then

      exit do

   else

      i=i+1

   end if

loop until y=""

msgbox i-1