Returns true if the second parameter is a suffix of the first one.
String
endWith(<parameters>)
Parameter | Type |
---|---|
string | string |
suffix | string |
endWith(<string>,<string>)
Returns a boolean.
endWith("Hello World", "World")
Returns true.
endWith("Hello World", "Hello")
Returns false.