I have a text and in that text letters. The program is capable of finding all the letters from A to Z. However, there are extra letters such as ą, č, ę, ė, į, š, ų, ū, ž. Do I have to create a new string that includes both english letters and the ones I need to find? How would I change this function then?
public void kiek()
{
for (int i = 0; i < eil.Length; i++)
{
if (('a' <= eil[i] && eil[i] <= 'z') ||
('A' <= eil[i] && eil[i] <= 'Z'))
{
Rn[eil[i]]++;
}
}
}