ENDSWITH() METHOD IN PYTHON

endswith() Method in Python

endswith() Method in Python

Blog Article

https://docs.vultr.com/python/standard-library/str/endswith

endswith() Method in Python
The endswith() method in Python is used to check if a string (such as a filename or URL) ends with a specific suffix. It returns True if the string ends with the given suffix; otherwise, it returns False

Report this page