A common function to determinate whether the end of this string instance matches the specified string.
Determines whether the end of this string instance matches the specified string.
See also the documentation for .Net, Java or Python. There are also workaround for languages like JavaScript and c++.