You just reverse it. The string goes first and then the space. I don't know vbnet so I am unfamiliar with PadRight, but it is not needed. I'll use len for the length of the string.

SNEX_ARRAY$(EXE_DESCRIPTION) = SNEX_ARRAY$(EXE_DESCRIPTION) & Space(24 - len(SNEX_ARRAY$(EXE_DESCRIPTION)))