Lines Matching refs:substr

34 use function substr;  alias
157 $element = substr($workingText, 0, $currentLen);
158 $temp = strtolower(substr($element, 0, 3));
172 $workingText = substr($workingText, $currentLen);
181 $entity = substr($workingText, 0, $currentLen);
190 $workingText = substr($workingText, $currentLen);
193 if (substr($workingText, 1, 1) === '{') {
200 $directive = substr($workingText, 0, $currentLen);
201 $workingText = substr($workingText, $currentLen);
216 if (substr($workingText . "\n", $offset, 6) === ' ') {
239 $nextChar = substr($workingText . "\n", $offset, 1);
267 $tempText = substr($workingText, $currentLen);
272 $tempText = substr($tempText, $nextLen);
287 $nextLetter .= substr($tempText . "\n", 0, 5);
311 $workingText = substr($workingText, $currentLen);
321 $workingText = substr($workingText, 1);
327 $workingText = substr($workingText, 6);
357 $workingText = substr($workingText, $currentLen);
402 while (substr($result, 0, self::LENGTH_START + 3) === self::START_RTL . self::UTF8_LRE) {
407 …$textSpan = self::stripLrmRlm(substr($result, self::LENGTH_START + 3, $spanEnd - self::LENGTH_STAR…
411 …$result = self::START_LTR . substr($result, self::LENGTH_START, $spanEnd - self::LENGTH_START) . s…
464 …if (substr($result . "\n", 0, self::LENGTH_START) !== self::START_LTR && substr($result . "\n", 0,…
471 …if (substr($result . "\n", 0, self::LENGTH_START) !== self::START_LTR && substr($result . "\n", 0,…
472 $leadingText .= substr($result, 0, 1);
473 $result = substr($result, 1);
476 …$result = substr($result, 0, self::LENGTH_START) . $leadingText . substr($result, self::LENGTH_STA…
539 $trailingText = substr($textSpan, $starPos + 1);
540 $textSpan = substr($textSpan, 0, $starPos);
543 $leadingText = substr($textSpan, 0, $wordStart + 1);
544 $wordText = substr($textSpan, $wordStart + 1);
586 $char = substr($text, $offset, 1);
597 $letter = substr($text, $offset, $length);
651 $textSpan = substr($result, self::$posSpanStart);
652 $result = substr($result, 0, self::$posSpanStart);
676 …$tempResult .= substr($textSpan, 0, $posLRE + 3); // Copy everything preceding the numeric stri…
677 …$numericString = substr($textSpan, $posLRE + 3, $posPDF - $posLRE); // Separate the entire numeric…
678 $textSpan = substr($textSpan, $posPDF + 3);
696 $tempResult .= substr($numericString, 0, $posSeparator);
698 $tempResult .= substr($numericString, $posSeparator, $lengthSeparator);
700 $numericString = substr($numericString, $posSeparator + $lengthSeparator);
725 $tempResult .= substr($numericString, 0, $posSeparator);
727 $tempResult .= substr($numericString, $posSeparator, $lengthSeparator);
729 $numericString = substr($numericString, $posSeparator);
747 $textSpan = substr($textSpan, 0, -1);
752 $textSpan = substr($textSpan, 0, -1);
755 if (substr($textSpan, -3) !== self::UTF8_PDF) {
766 $trailingString = substr($textSpan, $posStartNumber) . $trailingString;
767 $textSpan = substr($textSpan, 0, $posStartNumber);
773 $textSpan = substr($textSpan, 0, -1);
778 $textSpan = substr($textSpan, 0, -1);
794 $textSpan = substr($textSpan, 0, -1);
799 $textSpan = substr($textSpan, 0, -6);
806 $textSpan = substr($textSpan, 0, -7);
812 $textSpan = substr($textSpan, 0, -1);
817 $textSpan = substr($textSpan, 0, -6);
839 $textSpan = substr($textSpan, 0, -1);
844 $textSpan = substr($textSpan, 0, -1);
854 $trailingChar = substr($textSpan, -1);
858 $textSpan = substr($textSpan, 0, -1);
871 … $temp = self::stripLrmRlm(substr($textSpan, $posLeftParen)); // Get rid of UTF8 control codes
882 if (!str_contains(self::NUMBERS, substr($temp, $offset, 1))) {
886 if (!str_contains(self::NUMBERS, substr($temp, -2, 1))) {
890 $trailingID = substr($textSpan, $posLeftParen);
891 $textSpan = substr($textSpan, 0, $posLeftParen);
900 $textSpan = substr($textSpan, 0, -1);
905 $textSpan = substr($textSpan, 0, -6);
910 $textSpan = substr($textSpan, 0, -1);
923 $textSpan = substr($textSpan, 1);
928 $textSpan = substr($textSpan, 6);
933 $textSpan = substr($textSpan, 1);
987 $textSpan = substr($textSpan, 0, -1);
992 $textSpan = substr($textSpan, 0, -6);
999 $textSpan = substr($textSpan, 0, -7);
1015 $textSpan = substr($textSpan, 0, -1);
1020 $textSpan = substr($textSpan, 0, -1);
1023 if (substr($textSpan, -3) !== self::UTF8_PDF) {
1034 $trailingString = substr($textSpan, $posStartNumber) . $trailingString;
1035 $textSpan = substr($textSpan, 0, $posStartNumber);
1041 $textSpan = substr($textSpan, 0, -1);
1046 $textSpan = substr($textSpan, 0, -1);
1059 $textSpan = substr($textSpan, 0, -3);
1069 $posStringStart = strrpos(substr($textSpan, 0, $posDashString), '<RTLbr>');
1076 …$textSpan = substr($textSpan, 0, $posStringStart) . ' - ' . substr($textSpan, $posStringStart, $po…
1084 $textSpan = substr($textSpan, 1);
1089 $textSpan = substr($textSpan, 6);
1100 $textSpan = substr($textSpan, 0, -1);
1105 $textSpan = substr($textSpan, 0, -6);
1114 $posStringStart = strrpos(substr($textSpan, 0, $posDashString), '<RTLbr>');
1121 …$textSpan = substr($textSpan, 0, $posStringStart) . '- ' . substr($textSpan, $posStringStart, $pos…