VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
20 String Methods in 7 Minutes - Beau teaches JavaScript

20 String Methods in 7 Minutes - Beau teaches JavaScript

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
String methods featured in this video: charAt, charCodeAt, concat, endsWith, fromCharCode, includes, indexOf, lastIndexOf, match, repeat, replace, search, slice, split, startsWith, substr, substring, toLowerCase, toUpperCase, trim. Code: - http://codepen.io/beaucarnes/pen/qRLzNX?editors=0012 Other resources on topic: - https://www.w3schools.com/jsref/jsref_obj_string.asp Beau Carnes on
Date: 2022-03-14

Comments and reviews: 6


var str = -freeCodeCamp is the best place to learn frontend and backend development-;
str.includes(-end-); //returns true
str.startWith(-free-); //returns true
str.endwith(-end-); //returns false
str.match(/end/g); //returns an array
str.repeat(3); //returns the same string concatenated to itself 3 times

reply

from : stackoverflow.com - The -g- that you are talking about at the end of your regular expression is called a -modifier-. The -g- represents the -global modifier-. This means that your replace will replace all copies of the matched string with the replacement string you provide. - I had to find out!! -
reply

In my opinion, for beginners is far more effective to learn - how to interact with object types - using LOOPS and CONDITIONALS then to learn a dozen of prototype methods. Not saying that you DON'T need to learn it though.
reply

Watching this video as a newbie Javascript developer was super insightful. A perfect crash course on possibilities of cool things you can do to modify strings in Javascript.
reply

Is there a way freeCodeCamp can use bigger font, or zoom method so that we can see everything from the source code and the console.log........Thanx
reply

This video is the SH-T lol. I wish all videos were this quick and to the point. Plus gave me every option I needed. THANK YOU!
reply
Add a review, comment






Other channel videos