TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use \StrSubstitute, but what I want is to expand it all the way to get the result string.


then i use it with

% somehow define \a as the result string of the above macro
% \def\b{Strom}


I want to use it to bypass the fact that czech characters are after A-Z which does not reflect how czech people order the characters in their alphabet

share|improve this question
In what context do you want to use this? – egreg Feb 9 '13 at 13:23
Thank you very much, that solved it. Should have thought about that. Thanks a lot. – user25713 Feb 9 '13 at 13:36

All xstring macros starting with \Str accept one last optional argument in brackets [ ] where the resulting expandable output is stored in.

Your problem could been solved with

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.