Home | History | Annotate | Download | only in phonenumbers

Lines Matching refs:substring

302       String followingText = text.toString().substring(offset + candidate.length());
335 CharSequence firstGroupOnly = candidate.substring(0, groupMatcher.start());
346 CharSequence withoutFirstGroup = candidate.substring(withoutFirstGroupStart);
361 CharSequence withoutLastGroup = candidate.substring(0, lastGroupStart);
462 // Fails if the substring of {@code normalizedCandidate} starting from {@code fromIndex}
477 return normalizedCandidate.substring(fromIndex - formattedNumberGroups[i].length())
485 return normalizedCandidate.substring(fromIndex).contains(number.getExtension());
538 return rfc3966Format.substring(startIndex, endIndex).split("-");
573 return (firstSlashIndex > 0 && candidate.substring(firstSlashIndex + 1).contains("/"));
591 if (util.isNumberMatch(number, candidate.substring(index)) != MatchType.NSN_MATCH) {
596 } else if (!PhoneNumberUtil.normalizeDigitsOnly(candidate.substring(index)).equals(
633 candidateNationalPrefixRule.substring(0, candidateNationalPrefixRule.indexOf("$1"));