Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Split a string by a string
<?php explode(string $separator, string $string, int $limit = PHP_INT_MAX): array
<?php     public function parseIpFromPage($body)

    {

        $ex = explode('title="Look up on bgp.he.net">', $body);

        $ex = explode('<', $ex[1]);



        return $ex[0];
<?php     public function parseIpFromPage($body)

    {

        $ex = explode('title="Look up on bgp.he.net">', $body);

        $ex = explode('<', $ex[1]);



        return $ex[0];

    }