I'm working with the stringstrings package. It has a command called \gobblechar which removes the first character in a string or token. Kindly see my MWE below. it has been revised as per inputs from @egreg.
\documentclass{article}
\usepackage{amsmath}
\usepackage{stringstrings}
\begin{document}
\gobblechar[q]{Normal Text and \textbf{Bold Text} and \textit{Italic Text} and math commands like $a_{\text{c}}=\frac{v^2}{r}$}
\edef\myAnyString{\thestring}
\myAnyString
\end{document}
I'm expecting my argument to \gobblechar to be a combination of strings and commands, where the first character is alphabetic.
in the MWE above, the argument is
Normal Text and \textbf{Bold Text} and \textit{Italic Text} and math commands like `$a_{\text{c}}=\frac{v^2}{r}$
and the first character, ''N'', is alphabetic. I'm trying to output the same argument but without the first character.
Thus, my expected output is
ormal Text and Bold Text and Italic Text and math commands like $a_{\text{c}}=\frac{v^2}{r}$.
Note that there is no problem if the argument were a pure string. for example, if the argument is ''Normal Text'', the output of the MWE above is ''ormal Text''. The problem, I believe, is when the argument is a combination of strings and commands.
Kindly seeking your help how to achieve this. Im beginning to think the problem is not so simple as it looks.
