You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For taking a part of a string or slicing a string the substring() function is used. it takes 2 arguments the starting index and the ending index.
// The substring index goes from 0 as the starting point meaning the character in the first index will be shown but the character of the last index will be shown as the index of the character we want +1, So the substring end index should always be one more than the index till we want.