I want to substitute some spaces with normal font `\dots` in between name parts typeset in `\ttfamily`.

Below example works except for the commented part which fails miserably with the error: `TeX capacity exceeded, sorry [input stack size=5000] \StrSubstitute{\pxname}{ }{\normaldots}`.

```
\documentclass{article}

\usepackage{xstring}

%normaldots
\newcommand{\normaldots}{{\fontfamily{\familydefault}\fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont\normalsize\dots}}

\newcommand{\pxlastname}{Van der Laak}
\newcommand{\pxfirstname}{Cor}
\newcommand{\pxname}{\pxlastname\normaldots\pxfirstname}

\begin{document}
{\ttfamily\scshape\Huge\MakeLowercase{\pxname\normaldots test}}
\newline
%\StrSubstitute{\pxname}{ }{\normaldots}[\pxoutput]
%{\ttfamily\scshape\Huge\MakeLowercase{\pxoutput\normaldots test}}
\end{document}

```