Easy JavaScript - String Methods (11)

Published: 03 September 2016
on channel: 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


On this page of the site you can watch the video online Easy JavaScript - String Methods (11) with a duration of hours minute second in good quality, which was uploaded by the user Nazmus Nasir 03 September 2016, share the link with friends and acquaintances, this video has already been watched 1,689 times on youtube and it was liked by 10 viewers. Enjoy your viewing!