What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-12 19:31:06
how to compare strings in javascript ignoring case sensitive
var name1 = "Taylor Johnson"; var name2 ="taylor johnson"; //convert to lowercase for case insensitive comparison if(name1.toLowerCase() === name2.toLowerCase()){ //names are the same } Add solution -
Html 2021-09-04 17:50:02
pipes in angular 11
<p>{{name | lowercase}}</p>// Convert to LowerCase <p>{{name | uppercase}}</p> // Convert to UpperCase <p>{{name | titlecase}}</p> // Convert to TitleCase <p>{{birthday | date}}</p> // Convert to Date <p&... Add solution