This page is also available in 3 other languages

endsWith()

[StringObject Function]

Description

Tests whether or not a String ends with the characters of another String.

Syntax

myString.endsWith(myString2)

Parameters

myString: a variable of type String

myString2: another variable of type String

Returns

true: if myString ends with the characters of myString2

false: otherwise

See also