return str.replace(/.?/g, function(v) { return v == v.toLowerCase() ? v.toUpperCase() : v.toLowerCase() })