Is this what you are looking for...

=SUBSTITUTE(MID(A$3,ROW(A1),1)," ","x")