Easy JavaScript - String Methods (11)

Publié le: 03 septembre 2016
sur la chaîne: Nazmus Nasir
1,689
10

Welcome to the eleventh Easy JavaScript Tutorial, Beginner JavaScript Tutorial, part of Easy Programming! This tutorial covers Strings!

As I mentioned in the first video, everything in JavaScript is an object, or they're treated like objects even if you think they're not. And as in real life you can do things to objects, in JavaScript, you can do things with its objects.

Objects have two main pieces, properties and methods. If we have a book, a property of that book would be the title, page number, etc. In a string, the property we're most interested in is the length property, which will tell us the length of the string. There is also the constructor and prototype, something we'll dive into later.

A method is like a function. If you have a car, a function, or method of this car would be to drive, or park, turn on windshield wipers.

This tutorial takes a look at the length property, and as for methods, we're going to quickly look over indexOf(), search(), slice(), substring(), substr(), replace(), toUpperCase(), toLowerCase(), concat(), charAt().

To fork the fiddle and follow along: https://jsfiddle.net/easyjs/a1xvg2jm/

For more information, please visit http://www.EasyProgramming.net to view my other programming tutorials! Find videos of C++ tutorials, Excel tutorials, and JavaScript Tutorials.

I hope you enjoy the video and if you have any questions, please ask in the comments below. If you have any requests feel free to let me know. Thanks for watching and remember to subscribe!

-----------

Subscribe on YouTube:    / nazmusnasir  
Support me on Patreon:   / nazmus  
Follow me on Twitter:   / nazmusn  
Like me on Facebook:   / easyprogrammingnet  
Follow me on Google+: https://plus.google.com/+NazmusNasir
Check out my Github: https://github.com/naztronaut


Sur cette page du site, vous pouvez voir la vidéo en ligne Easy JavaScript - String Methods (11) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Nazmus Nasir 03 septembre 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,689 fois et il a aimé 10 téléspectateurs. Bon visionnage!