Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript vérifier si une chaine de carctère commence par une majuscule

/* Test if a character is uppercase by converting it to lowercase 
 *   and comparing that with the original. 
 * If they are different, the original was uppercase. 
 * If they are the same, the original was either a lowercase character
 *   or a character that doesn't have uppercase and lowercase 
 *   versions (e.g. a number or punctuation mark).
*/
function isUpperCase(char)
{
  // 'char' is a string containing a single character
  return char !== char.toLowerCase();
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to use getBackgroundPage 
Javascript :: how to get state value from history react 
Javascript :: javascript es6 quizes 
Javascript :: jQuery exclude exteranl link for images 
Javascript :: quill js server side delta 
Javascript :: what is the purpose of subscript in an array 
Javascript :: query sequnce graphql 
Javascript :: inmutabilidad javascript 
Javascript :: deconstruction javascript check if exist attrib 
Javascript :: choropleth map of india which shows current date confirmed cases in every state json api python. 
Javascript :: how to see line number in gatway script 
Javascript :: 4. You want to print the incremental count each time you instantiate a object using new in JS 
Javascript :: adding a terminal iframe 
Javascript :: what is amqp10 policy nodejs 
Javascript :: application/ld+json react 
Javascript :: puppeteer wait for select[name= 
Javascript :: react native map array of objects 
Javascript :: javascript alert program 
Javascript :: how to check record successfully delete in mongodb node js 
Javascript :: recuperer une image dans la base de données avec angular 
Javascript :: use ca certifcate node js 
Javascript :: nodejs createcipheriv invalid key length 
Javascript :: how to give default value to desctructured object 
Javascript :: how to get last value knex in postgresql 
Javascript :: survey js type: "rating", 
Javascript :: traduire text with api translate google in react 
Javascript :: js convert if/else statement to switch case 
Javascript :: add backgorund image in react native app 
Javascript :: Popup is not working 
Javascript :: how to use begins with in aws nodejs 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =