All Javascript Methods That You Can Use on Strings | CodeBlock

Pubblicato il: 15 ottobre 2024
sul canale di: CodeBlock
182
11

👉String Reference:👉JavaScript strings are sequences of characters (like letters, numbers, and symbols) used to represent text. In JavaScript, strings are enclosed in either single quotes (' '), double quotes (" "), or backticks (` `).

👉Object Reference:👉 JavaScript methods are functions that are part of an object. They allow you to perform actions or manipulate the data stored within that object. Essentially, a method is just a function that belongs to an object, and in JavaScript, almost everything is an object, including arrays, strings, and numbers.

✅ Here’s a simple explanation:

✅What is a Method?
👉A method is a function that is associated with an object. For example, when you use .toUpperCase() on a string, toUpperCase is a method of the string object.
👉In this single video we are going to learn about all the methods that we can use on a string in javascript.

Full Javascript tutorial here 👉    • 🔥 Javascript for Confused Beginners W...  
Premium frontend development 👉    • Frontend Development for All Levels |...  

✅ Twitter 👉   / codeblockdev  
🚀 Telegram for updates: 👉 https://t.me/codeblockdev
🚀 Our discussions channel: 👉 https://t.me/codeblockdiscuss
✅ For those who are on Discord: 👉  / discord  
✅ Connect on Linkedin : 👉  / codeblock  


Timestamps

00:00 Intro
00:20 charAt
01:34 concat
03:09 includes
03:54 findIndexOf
05:52 lastIndexOf
06:08 slice
09:08 split
11:21 toLowerCase toUpperCase
11:34 replace
12:10 substring
14:50 startsWith and endsWith
16:02 trim

#javascript #codeblockdev


In questa pagina del sito puoi guardare il video online All Javascript Methods That You Can Use on Strings | CodeBlock della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeBlock 15 ottobre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 182 volte e gli è piaciuto 11 spettatori. Buona visione!