Split out getStr and getStr with normalised new lines.