Well, the asp script that accepts the variable could loop through each character in the input with Mid() until the character is not a space setting say "count" to the index - 1 (could be 0), then (if not 0) loop from 1 to "count" to add together that many "& nbsp ; " hard spaces.