You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// trying to find the amount of times the findCharacter is found in the stringOfCharacters
3
+
constlengthOfString=stringOfCharacters.length;
4
+
console.log("lengthOfString",lengthOfString);
5
+
6
+
// replace all instances of findCharacter in string of characters with an empty string, and then get the length. (e.g. in house replace the e with an empty string " ").
0 commit comments