Computer Science, asked by akshaymahesh1512, 6 months ago

unknown facts about startswith code

Answers

Answered by shantanukumar9686
2

Answer:

The JavaScript startsWith method will return true or false if a string starts with a specified character or string. ... The endsWith() method is used for the same purpose but checks whether a string ends with a specified substring.

Explanation:

The startswith() method returns True if the string starts with the specified value, otherwise False.

Similar questions