Every row is checked to see if empty chars must be replaced with spaces.
In the row that contained the star, any trailing spaces are replaced with the blank char