Hello
I set a string "abcdefg".
How can I return a string containing a specified number of characters from the left or right side of the string I set?

Example:
If I want to return 3 characters from the left of the string above, it'll print "abc".

In VB6, I can do that by "Left$(str,Length)" or "Right$(str,Length)".

Thanks