Use parameter expansion when assigning space_character.

See http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html for a reference on parameter expansion in bash.