Extra space before `$endString`