I would like to do a simple
\StrSplit (from the xstring package) on a string I have, however, the string in question may contain a
\par, and it appears that
\@xs@StrSpl@t@@, which I can only imagine is an internal xstring macro, is not a long macro, so it causes an error.
Are there any workarounds? Other packages with similar functionality that accept long strings? A way to remove
\par temporarily and put it back later?
EDIT: I only actually need to split off the first character, so if there's a way to do that directly on arbitrary strings (with the semantics of
\noexpand), that would work too.