filmov
tv
endsWith( ) method in string | java | ICSE X | class 10 | Semester 2 | computer applications

Показать описание
The endsWith() method returns true if a string ends with a specified string. Otherwise it returns false.
The endsWith() method is case sensitive.
SYNTAX:
PARAMTER:
searchvalue - The string to search for.
length Optional - The length of the string to search.
Default value is the length of the string.
A boolean value - true if the string ends with the value, otherwise false.
Click on this google drive link to get the code of the program :
The endsWith() method is case sensitive.
SYNTAX:
PARAMTER:
searchvalue - The string to search for.
length Optional - The length of the string to search.
Default value is the length of the string.
A boolean value - true if the string ends with the value, otherwise false.
Click on this google drive link to get the code of the program :