Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser
Reader::getSubstring
Method of the class: Reader{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Reader = new Reader(); $Reader->getSubstring( $length, $offset ): string;
- $length(int) (required)
- .
- $offset(int)
- .
Reader::getSubstring() Reader::getSubstring code WC 10.5.0
public function getSubstring(int $length, int $offset = 0): string
{
return substr($this->source, $this->position + $offset, $length);
}