SpaceCheck function

SpaceCheck checks for a single space character