What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-15 06:21:07
string manipulation
String manipulations: charAt(indexNumber): it returns the char at the given index length(): returns the total number of characters as int length is ALWAYS one unit above the maximum index number maxIndex: length()-1; concat(Value): Concatenation, conc... Add solution -
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-10-06 03:57:06
html uppercase
.uppercase { text-transform: uppercase; } #example { text-transform: none; /* No capitalization, the text renders as it is (default) */ text-transform: capitalize; /* Transforms the first character of each word to uppercase */ text-transform: upp... Add solution -
Other 2021-09-30 18:49:02
Simple dictionary in Python
import string # Edited by Sadman Sakib dic = {'greet': 'something that you say or do to greet somebody', 'sleep': ' [intransitive] to rest with your eyes closed and your mind and body not active', 'morning': 'The early part of the day from... Add solution -
Python 2021-09-23 08:35:07
complete python developer in 2020 zero to mastery
# Note: No semicolons needed. Comments: # # Tips: \n in string adds new line. \t adds new tab. len() measures length of item. int(), str(), float(), bool, etc converts items # Output: print(value) print("Hi!") # Variables my_variable = "Hi!... Add solution -
PHP 2021-09-23 07:44:01
php convert to lowercase
strtolower ( string $string ) : string //Returns string with all alphabetic characters converted to lowercase. $string = 'HELLO WORLD'; echo strtolower($string); //Output: 'hello world' $string = 'HeLlO WoRlD'; echo strtolower($string); //Output: 'hello ... Add solution -
CSS 2021-09-07 03:59:05
text transform in css
.uppercase { text-transform: uppercase; } #example { text-transform: none; /* No capitalization, the text renders as it is (default) */ text-transform: capitalize; /* Transforms the first character of each word to uppercase */ text-transform: upp... 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