28/03/2020, 19:08 #8 Aktif Üye accessman Bul Aktif Üye Adı Soyadı: Konum: Denizli Ofis Versiyonu: Ofis 2003 Son Oturumu: 12/01/2021,20:07 Yorumları: 4.395 Konuları: 900 Kayıt Tarihi: 31/10/2008 Teşekkür Puanı: 434 şöyle olabilir int count = StringUtils.countMatches("a.b.c.d", ".");Kodu SeçKodu Kopyala veya int count = line.length() - line.replace(".", "").length();Kodu SeçKodu Kopyala veya int replaceAll = testString.replaceAll("[^.]", "").length();Kodu SeçKodu Kopyala veya int replaceAllCase2 = testString.length() - testString.replaceAll("\\.", "").length();Kodu SeçKodu Kopyala veya int split = testString.split("\\.",-1).length-1;Kodu SeçKodu Kopyala Cevapla Son Düzenleme: 28/03/2020, 19:16, Düzenleyen: accessman. Cevapla