Watch 10 video solutions for To Lower Case, a easy level problem involving String. This walkthrough by Nick White has 21,922 views views. Want to try solving it yourself? Practice on FleetCode or read the detailed text solution.
Given a string s, return the string after replacing every uppercase letter with the same lowercase letter.
Example 1:
Input: s = "Hello" Output: "hello"
Example 2:
Input: s = "here" Output: "here"
Example 3:
Input: s = "LOVELY" Output: "lovely"
Constraints:
1 <= s.length <= 100s consists of printable ASCII characters.