endswith( needle )

Description:

Determine whether a string ends with a specified substring.

Input:

String to check.

Parameters:

needle

Substring to look for.

Return:

True if the input string ends with the needle substring.