Convert a string to Uppercase

 Problem

I want to convert a string to uppercase.



 Recipe


// String literal
var a = "Hello World!"

// Uppercase the string
a = a.uppercaseString
print(a)
				


 Playground