I believe the documentation for the "mid()" function is a bit incorrect
where it says
mid():
Will return the string from the start position to the end position inside of the input string.
mid({string or var name},{Start position},{end position})
it should say ... mid({string or var name},{start position},{number of characters})
dwight