Are the functions startswith() and endswith() case sensitive? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Are the functions startswith() and endswith() case sensitive?

17th Jan 2016, 12:17 PM
Arjo Dasgupta
Arjo Dasgupta - avatar
1 Answer
+ 2
Yes functions startswith() and endswith() are case sensitive. And based on exact match, it will return true or false
17th Mar 2016, 4:05 AM
Deepesh Kaushal