Lines Matching refs:offset
212 $offset = 0; // Be sure to look at the current character first
213 $charArray = self::getChar($workingText . "\n", $offset);
216 if (substr($workingText . "\n", $offset, 6) === ' ') {
217 $offset += 6; // This could be numeric punctuation
219 … $offset += $charArray['length']; // This could be numeric punctuation
222 $charArray = self::getChar($workingText . "\n", $offset);
238 $offset = $currentLen;
239 $nextChar = substr($workingText . "\n", $offset, 1);
573 * @param int $offset
577 private static function getChar(string $text, int $offset): array argument
586 $char = substr($text, $offset, 1);
597 $letter = substr($text, $offset, $length);
876 $offset = 1;
877 … $charArray = self::getChar($temp, $offset); // Get 1st character of parenthesized text
881 $offset += $charArray['length']; // Point at 2nd character of parenthesized text
882 if (!str_contains(self::NUMBERS, substr($temp, $offset, 1))) {