Remove spaces and dots from shortened string version