How to Convert a String to Lowercase?
If you want to convert the string in JavaScript to lowercase, it's quite easy: var strConvertedToLowerCase = str; //Lowercase it. str = str.toLowerCase(); console.log(str); Converting a string to lowercase is not an easy task, but with JavaScript it's quite simple.
tolowercase javascript
on Jan 01, 1970
var str = "Hello World!";
var res = str.toLowerCase();
0
tolowercase
on Jan 01, 1970
const sentence = 'The quick brown fox jumps over the lazy dog.';
console.log(sentence.toLowerCase());
// expected output: "the quick brown fox jumps over the lazy dog."
0
You can use the built in function named ASC (character-set conversion) or lowerCase() method to do the trick: SYMBOL_LOWERCASE (capitalize only).
Javascript answers related to "Console.log toLowerCase"
console log new how to color console.log how to color console.log Console.log toLowerCase Console.log toLowerCase String lowercase js string lowercase in js js to lowercase node log centered node log docker nodejs write to log file clearing console clearing console pause console debugger in react node red debug to console print to console without newline nodejs pm2 group console messages how to put strings in console javascript react native generate app hash without play console
View All Javascript queries
Javascript queries related to "Console.log toLowerCase"
Console.log toLowerCase console log new how to color console.log node log centered node log docker nodejs write to log file pause console debugger in react react native generate app hash without play console node red debug to console print to console without newline nodejs how to put strings in console javascript pm2 group console messages clearing console
Browse Other Code Languages
Abap ActionScript Assembly BASIC C C# C++ Clojure Cobol CSS Dart Delphi Elixir Erlang F# Fortran Go Groovy Haskell Html Java Javascript Julia Kotlin Lisp Lua Matlab Objective-C Pascal Perl PHP PostScript Prolog Python R Ruby Rust Scala Scheme Shell/Bash Smalltalk SQL Swift TypeScript VBA WebAssembly Whatever