Great video and It is so funny how to teach beginners the trim method and you say “hey white spaces removed from console “ where its not showing with or without trim 😂
Key Insights 🎯 The CharAt method is useful for retrieving individual characters from a string, using their corresponding index. 🎯 The IndexOf method helps in finding the index of the first occurrence of a character in a string, which can be useful for further manipulations. 🎯 The Length property provides a simple way to determine the length of a string, which is often needed for various operations. 🎯 The Trim method is handy for removing leading and trailing whitespace from a string, ensuring clean input. 🎯 The ToUpperCase and ToLowerCase methods enable easy conversion of a string to uppercase and lowercase, respectively. 🎯 The Includes method helps in checking whether a string contains a specific substring, which is useful for conditional checks. 🎯 String methods provide powerful tools for manipulating and working with text, enhancing the functionality of JavaScript applications.
// string methods = allow you to manipulate and work with text (strings)
let userName = "Bro Code";
let phoneNumber = "123-456-7890";
//console.log(userName.length);
//console.log(userName.charAt(0));
//console.log(userName.indexOf("o"));
//console.log(userName.lastIndexOf("o"));
//userName = userName.trim();
//userName = userName.toUpperCase();
//userName = userName.toLowerCase();
//userName = userName.repeat(3);
//let result = userName.startsWith(" ");
//let result = userName.endsWith(" ");
//let result = userName.includes(" ");
//phoneNumber = phoneNumber.replaceAll("-", "");
//phoneNumber = phoneNumber.padStart(15, "0");
//phoneNumber = phoneNumber.padEnd(15, "0");
console.log(phoneNumber);
The video was postet 33 minutes ago but the comment is 1 month old 🤨
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
dude I'm finally understanding java script!
Daddy Brocode teaches me lots
Why you always write that same comment 😭
superb video
Great video and It is so funny how to teach beginners the trim method and you say “hey white spaces removed from console “ where its not showing with or without trim 😂
Thanks
Wow, Javascript has string methods!
Can you make a tutorial on ruby aswell please
thnx
What is the use of strings in building app
Key Insights
🎯 The CharAt method is useful for retrieving individual characters from a string, using their corresponding index.
🎯 The IndexOf method helps in finding the index of the first occurrence of a character in a string, which can be useful for further manipulations.
🎯 The Length property provides a simple way to determine the length of a string, which is often needed for various operations.
🎯 The Trim method is handy for removing leading and trailing whitespace from a string, ensuring clean input.
🎯 The ToUpperCase and ToLowerCase methods enable easy conversion of a string to uppercase and lowercase, respectively.
🎯 The Includes method helps in checking whether a string contains a specific substring, which is useful for conditional checks.
🎯 String methods provide powerful tools for manipulating and working with text, enhancing the functionality of JavaScript applications.
node js and express js tutorils bro