I want to store the argument of a macro in a temporary variable, but I know in advance that some people will incorrectly enclose the argument in parentheses as well as braces (long story). Specifically, some users will say something like
while others will say
I want the macro
\bernardto store the string
abc in the temporary variable in both cases. How do I achieve this?