Just trying to do a play around with Swift String. I want to replace all the characters in a String to a blank space.
inputString = "This is a String"
outputString = " "
let outputString = inputString.stringByReplacingOccurrencesOfString("[^\\s]", withString: " ", options: .RegularExpressionSearch, range: Range(inputString.startIndex..<inputString.endIndex))