# Pyth, <strike>12</strike> 11 bytes

    jm+*;xQdd.:

Sadly the question allows us to assume unique characters, so I just lookup the first position of the substring, and pad with spaces.