Is charAt case-sensitive?

Note that this comparison is case-sensitive . If our names were recorded in lowercase, the statement name. charAt(i) == ‘G’ would never evaluate to true. If the character at index position i is equal to G, our counter increases by 1.

Sizin İçin Seçtik  Dünya Piyasaları saat kaçta açılıyor?

Leave a Reply

Your email address will not be published. Required fields are marked *