startsWith() and endsWith() String Methods in JavaScript | JavaScript Course for Beginners from S...

Publicado el: 27 julio 2026
en el canal de: Topchiy Dev | Frontend с нуля
38
7

In this video, we'll explore the startsWith() and endsWith() methods in JavaScript. startsWith() checks whether a string begins with the specified substring, and endsWith() checks whether a string ends with the specified substring. Both methods return true or false. We'll look at real-world examples: checking an https link, file extensions, and a capitalization pitfall.

⏱ TIMECODES
0:00 - Checking if a link starts with https
1:19 - Where are we currently in the course - 15 methods covered, today the last two
1:37 - What are startsWith and endsWith - they check the beginning and end of a string
2:33 - Difference from includes - includes searches anywhere in a string
2:59 - Syntax: searchString, returns true or false
3:23 - Important: case matters - uppercase and lowercase are different characters
4:00 - Practice: Checking file extensions using endsWith
5:08 - Practice: Example with case - true and false
6:26 - Solution: toLowerCase() for case-insensitive comparison
6:35 - Lesson summary: the string methods block is complete

📚 PLAYLISTS AND COURSES

📚 A complete JavaScript course from scratch:
👉    • JavaScript уроки для начинающих с нуля: По...  

🚀 JS Practice - Projects from Scratch:
👉    • JavaScript для начинающих: Практические за...  

📚 Complete HTML Course from Scratch:
👉    • HTML уроки для начинающих с нуля: Полный курс  

📚 Complete CSS Course from Scratch:
👉    • Полный курс CSS с нуля | Основы CSS для на...  

🟦 Complete Flexbox CSS Course:
👉   / 1320002  

🌐 Hosting Tutorials - Website Launch:
👉    • Бесплатный хостинг и публикация сайтов  

📦 Source Code (Patreon):
👉   / membership  

💬 SOCIAL MEDIA

💬 Telegram:
👉 https://t.me/TopchiyDev

🎓 Patreon:
👉   / topchiydev  

#javascript #startswith #endswith #stringmethods #jsforbeginners #webdev #frontend #programming


En esta página del sitio puede ver el video en línea startsWith() and endsWith() String Methods in JavaScript | JavaScript Course for Beginners from S... de Duración hora minuto segunda en buena calidad , que subió el usuario Topchiy Dev | Frontend с нуля 27 julio 2026, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 38 veces y le gustó 7 a los espectadores. Disfruta viendo!