Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
C# Programming

Tests - Checking the start or the end of a string

 

Tests

Tests - Checking the start or the end of a string

1. [ C# ] Test a string


Big

We use the method StartsWith

The code selects those countries that begin with "D".

The method EndsWith is similar.