1. [ C++ ] Test a string
The code selects those countries that begin with "D".
test text
1. [ C# ] Test a string
We use the method
StartsWithThe code selects those countries that begin with "D".
The methodEndsWith is similar.test text
1. [ Java ] Test a string
We use the method
startsWithThe code selects those countries that begin with "D".
The methodendsWith is similar.test text