Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

Reader::getOffsetpublicWC 1.0

Method of the class: Reader{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Reader = new Reader();
$Reader->getOffset( $string );
$string(string) (required)
.

Reader::getOffset() code WC 10.5.0

public function getOffset(string $string)
{
    $position = strpos($this->source, $string, $this->position);

    return false === $position ? false : $position - $this->position;
}