🎁 Join my channel to get access to perks:
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] ).
const str = “Code Explained”;
console.log(str); // 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 : https://www.facebook.com/Code.Explained.Official
◾ Twitter : https://twitter.com/code_explained
◾ Instagram : https://www.instagram.com/Code.Explained.Official/
◾ GitHub : https://github.com/CodeExplainedRepo
💲 Suppport the Channel
Paypal : https://paypal.me/CodeExplained
Buy Me a Coffee: https://www.buymeacoffee.com/CodeExplained