Handle spaces in searchString