I want to store renderpartial, and dont want to echo

<?php $this->renderPartial($view, $data); ?>

It echo content automatically.
I want to store it like

<?php
$value = "my value";
$value .= $this->renderPartial($view, $data);
?>