package o; /* loaded from: classes6.dex */ public final class goW { private String b; int e = 0; public goW(String str) { this.b = str; } public final String a() { int i = this.e; if (i == -1) { return null; } int indexOf = this.b.indexOf(46, i); if (indexOf == -1) { String substring = this.b.substring(this.e); this.e = -1; return substring; } String substring2 = this.b.substring(this.e, indexOf); this.e = indexOf + 1; return substring2; } }