"endsWith" (string::endsWith)

Returns true if the string ends with s, otherwise false.

Synopsis

bool string.endsWith(string s, CaseSensitivity cs = CaseSensitive);

Parameters

Parameter Description
s String to be searched.
cs

Decides if the search is case sensitive. Can be either:

  • string::CaseSensitive
  • string::CaseInsensitive

Description

Returns true if the string ends with s, otherwise false.

Assignment

String