Keep track of the length of the string in ExpandVariables().
drwxr-xr-x - cde