We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cba04 commit 9180a4dCopy full SHA for 9180a4d
basics/string-split.js
@@ -0,0 +1,7 @@
1
+let quote = "Kill Me Heal Me";
2
+let words = quote.split(" ");
3
+let characters = quote.split("");
4
+let l = quote.split("l");
5
+console.log("Total words in quote:", words.length);
6
+console.log("Total characters in quote:", characters.length);
7
+console.log("Total 'L' in quote:", l.length - 1);
0 commit comments