javascript lowercase string
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
javascript lowercase string
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
js test letter lowercase
if (character == character.toLowerCase())
{
// The character is lowercase
}
else
{
// The character is uppercase
}
//The problem with this answer is,
//that some characters like numbers or punctuation
//also return true when checked for lowercase/uppercase.
// this is the solution for it:
function isLowerCase(str)
{
return str == str.toLowerCase() && str != str.toUpperCase();
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us