A

Admin • 833K Points
Coach

Q. Which method converts a string to uppercase in Swift?

  • (A) uppercase()
  • (B) toUpper()
  • (C) uppercased()
  • (D) capitalize()
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin

`uppercased()` returns the uppercase version of the string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.