re: Daily Challenge #95 - CamelCase Method VIEW POST

FULL DISCUSSION
 

My solution in Swift with an extension of String :

extension String {
    var camelCase: String {
        self.capitalized.filter {
            !$0.isWhitespace
        }
    }
}
code of conduct - report abuse