How would you use Str and Cstr commands in a Robot GUI script to convert a number to a string. Explain with an example.
The Str command adds a white space character at the beginning of the string; the Cstr command does not.
For example, the Str command converts the number 123 to ” 123″ whereas the Cstr
command converts 123 to “123″.
The inclusion of the white space character can be useful when concatenating the
result with another string, for example
“The number is” & CStr(123) results in “The number is123″
“The number is” & Str(123) would result in “The number is 123″
The same effect can be achieved with Cstr command by placing an empty space at
the end of the preceding string.

