Skip to content

str::endsWith

endsWith(input: String, ending: String)

ParameterTypeDescription
inputStringEntire string
endingStringSubstring

Returns

(Boolean) Whether or not the input string ends with the string provided as the second argument.