# append a space to $str $str = $str . " "; #### # same thing with assignment operator $str .= " ";