Try this test:
Code: Select allmsg = "this_is_a_long_string_to_test"
short = left(msg,6)
print short
short = right(msg,6)
print short
short = mid(msg,6,3)
print short
short = mid(msg,6)
print short
print "All done!"
wait
left(msg,x) gives you the leftmost x characters
right(msg,x) gives you the righmost x characters
mid(msg,x,y) gives you the y most characters starting at position x.
mid(msg, x) gives you zero characters because y is zero. Other basics would give you the remainder of the string if y is omitted.
All lines are printed to the console but only the first two lines appear in the web interface!
Jim