String endsWith example

String endsWith is used to check if a String ends with the given suffix.

endsWith() method returns a boolean value based on the suffix passed

String endsWith example



1. String API

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn