public function containsString()
    {
        if (strpos($this->data[0], $this->data[1]) === false) {
            throw new DidNotMatchException();
        }

        return $this->data[0];
    }
public function containsString()
    {
        if (strpos($this->data[0], $this->data[1]) === false) {
            throw new DidNotMatchException();
        }

        return $this->data[0];
    }
public function containsString ( ) { if ( strpos ( $ this -> data [ 0 ] , $ this -> data [ 1 ] ) === false ) { throw new DidNotMatchException ( ) ; } return $ this -> data [ 0 ] ; }
A string contains a substring. Returns original string.

@return mixed
@throws DidNotMatchException
@syntax string ?:string contains ?:string
A string contains a substring . Returns original string .