I'm making a new command like which goes kind of like this:
\newcommand\mycommand[1]{\#1section}
So, what I what is to type \mycommand{sub}{blah}
to output \subsection{blah}
and \mycommand{subsub}{blah}
to output \subsubsection{blah}
. Is this even possible?