Checking for a Suffix

From Progzoo
Jump to: navigation, search

endsWith

We use the method endsWithThe method startsWith is similar.

The code selects those countries that end with "land".

[Font] [Default] [Show] [Resize] [History] [Profile]