uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
is string javascript
function isString(value) {
return typeof value === 'string' || value instanceof String;
}
isString(''); // true
isString(1); // false
isString({}); // false
isString([]); // false
isString(new String('teste')) // true
is a letter javascript
/[a-z]/i
check if something is a letter in js
string.charAt(1).toUpperCase() !== string.charAt(1).toLowerCase()
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