If the first call is
display("11x0x11xx");

Then the recursive calls would be
display("1100x11xx");
display("1110x11xx");
You only need to be able to find the first 'x' in a string.

If you...