🎁 Join my channel to get access to perks:
/ @codeexplained
🧡 Hello All JavaScript Lovers Outhere!
Today you're going to learn about the String Object In JavaScript.
This tutorial is a series of videos, in each video we will discuss a method (or more) of the String Object in JavaScript.
In today's video, you're going to learn how to create a string primitive and a string object in JavaScript, and the difference between them, and that JavaScript automatically convert a string primitive to a string object, so you can have access to all the string object methods and properties.
We will discuss the length property of string, and that it's basically the number of characters in a string.
You will also learn that strings are zero index based, which means that the first character in a string has the index zero. and because strings can be treated like arrays, we can access each character by using the index via the square brackets ( [index] ).
Example:
const str = "Code Explained";
console.log(str[5]); // logs "E"
You will also learn how to use the charAt method to access a character for a given string.
🕔 Timeline :
00:00:00 - Intro
00:00:39 - Create a string
00:02:04 - String Length Property
00:02:52 - Access String Character
00:04:39 - charAt method
🌍 Social Media Links.
◾ Facebook : / code.explained.official
◾ Twitter : / code_explained
◾ Instagram : / code.explained.official
◾ GitHub : https://github.com/CodeExplainedRepo
💲 Suppport the Channel
Paypal : https://paypal.me/CodeExplained
Buy Me a Coffee: https://www.buymeacoffee.com/CodeExpl...
On this page of the site you can watch the video online Introduction + charAt method | String Object In JavaScript with a duration of hours minute second in good quality, which was uploaded by the user Code Explained 28 July 2022, share the link with friends and acquaintances, this video has already been watched 12,497 times on youtube and it was liked by 232 viewers. Enjoy your viewing!