src/Functions/AbstractFunctions.php
public function getTitledItem(string $str, string $item = null, string $delimiter = ';'): string
    {
        return (null === $item)
            ? trim(substr(trim(substr($str, 0)), 0, $this->getStringPositionX(trim(substr($str, 0)), $delimiter, 1)))
            : trim(substr(trim(substr($str, $this->getStringPositionX($str, $item, 1) + strlen($item))), 0, $this->getStringPositionX(trim(substr($str, $this->getStringPositionX($str, $item, 1) + strlen($item))), $delimiter, 1)));
    }
public function getTitledItem(string $str, string $item = null, string $delimiter = ';'): string
    {
        return (null === $item)
            ? trim(substr(trim(substr($str, 0)), 0, $this->getStringPositionX(trim(substr($str, 0)), $delimiter, 1)))
            : trim(substr(trim(substr($str, $this->getStringPositionX($str, $item, 1) + strlen($item))), 0, $this->getStringPositionX(trim(substr($str, $this->getStringPositionX($str, $item, 1) + strlen($item))), $delimiter, 1)));
    }
public function getTitledItem ( string $ str , string $ item = null , string $ delimiter = ';' ) : string { return ( null === $ item ) ? trim ( substr ( trim ( substr ( $ str , 0 ) ) , 0 , $ this -> getStringPositionX ( trim ( substr ( $ str , 0 ) ) , $ delimiter , 1 ) ) ) : trim ( substr ( trim ( substr ( $ str , $ this -> getStringPositionX ( $ str , $ item , 1 ) + strlen ( $ item ) ) ) , 0 , $ this -> getStringPositionX ( trim ( substr ( $ str , $ this -> getStringPositionX ( $ str , $ item , 1 ) + strlen ( $ item ) ) ) , $ delimiter , 1 ) ) ) ; }
A parser for title delimited data.

@param string $str       The string data used to parse
@param string $item      The defined title item to find
@param string $delimiter The default ending delimiter

@return string

@api
A parser for title delimited data .