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
In questa pagina del sito puoi guardare il video online Easy JavaScript - String Methods (11) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nazmus Nasir 03 settembre 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,689 volte e gli è piaciuto 10 spettatori. Buona visione!