how to make string lowercase code example

Example 1: how to convert whole strig in lowercase in js

var str = "Hello World!";
var res = str.toLowerCase();

Example 2: python lowercase

// turn to lower/upper
string = string.upper()
string = string.lower()

// check if all letter are lower or upper
string.islower()
string.isupper()

Example 3: python lower

string.lower()

Example 4: python string lowercase

startString = "TeST StrIng"
lowerCaseString = startString.lower()
print(lowerCaseString)
# Output -> "test string"

Example 5: string.lower

string.lower() -- Finds a uppercase on the string argument then sets it back to lowercase