startsWIth and endsWith methods | String Object In JavaScript

preview_player
Показать описание
🎁 Join my channel to get access to perks:

🧡 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 about startsWith and endsWith methods.

The startsWith and endsWith methods both return a Boolean true or false, based on whether a string starts (ends) with another string or not.

🔷 Syntax:
startsWith(searchString)
startsWith(searchString, position)
🔹searchString : The characters to be searched for at the start of this string.
🔹 position (Optional) : The position in this string at which to begin searching for searchString. Defaults to 0.

🔷 Syntax:
endsWith(searchString)
endsWith(searchString, length)
🔹searchString : The characters to be searched for at the start of this string.

🌍 Social Media Links.

💲 Suppport the Channel
Рекомендации по теме
Комментарии
Автор

All of your videos are gems, Thank you for your contribution. It's helps a lot to understand perfectly. Are you have any plan for TypeScript, React and Nodejs? Thank you again.

romelmahmud
Автор

Thank you, i just want to ask you can you give us the slides ?

ChicoWebDev
welcome to shbcf.ru