What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-09 11:38:03
javascript capitalize string
//capitalize only the first letter of the string. function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } //capitalize all words of a string. function capitalizeWords(string) { return string.repl... Add solution -
Python 2021-09-09 09:00:03
regex
Let regex; /* shorthand character classes */ regex = /d/; // matches any digit, short for [0-9] regex = /D/; // matches non-digits, short for [^0-9] regex = /S/; // matches non-white space character regex = /s/; // matches any white space character regex ... Add solution -
Java 2021-09-07 09:40:01
filterreader converts a string to uppercase java
import java.io.*; public class TextFile { public static void main (String[] args) throws IOException { File file1 = new File("intext.txt"); File file2 = new File("outtext.txt"); char CharCounter = 0; ... 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 -
Javascript 2021-09-06 11:12:04
javascript uppercase first letter
//capitalize only the first letter of the string. function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } //capitalize all words of a string. function capitalizeWords(string) { return string.repl... Add solution -
Other 2021-09-06 06:12:03
Pattern Matcher
// This will match a sequence of 1 or more uppercase and lowercase English letters as well as spaces String myRegExString = "[a-zA-Z\\s]+"; // This is the string we will check to see if our regex matches: String myString = "The quick brown... 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 -
Javascript 2021-09-04 16:07:02
js capitalize first letter
//capitalize only the first letter of the string. function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } //capitalize all words of a string. function capitalizeWords(string) { return string.repl... Add solution
Best helpers
Zach Zundel
+5
JSanchez
+5
Sam davies
+5
M. Arafat
+5
AMACB
+5
M208
+5
Kraig Lee
+5
Dk123
+5
Phatfingers
+5
Jsuissa
+5
Steve Caine
+5
Aerin
+5
Nsayer
+5
Phuzi
+5
E meyr
+5
Kevin Raffay
+5
Amziraro
+5
Wad Cheber
+5