Syntax
hassuffix(string, suffix)
Description
The function hassuffix() tests whether the string ends with suffix.
Example
if (hassuffix("Wobble.txt", ".txt")) {
    println("It's a .txt file")
}
It's a .txt file
	hassuffix(string, suffix)
The function hassuffix() tests whether the string ends with suffix.
if (hassuffix("Wobble.txt", ".txt")) {
    println("It's a .txt file")
}
It's a .txt file