Convert Object to String
<p>I have an object which gets a String. I want to compare it with a String and I don't know how to do it.
My source is something like it:</p>

<pre><code>$field = $this-&gt;form-&gt;getFieldset('profile');
$website = "Web site";

if ($field-&gt;label == $website){
   echo "good";
}else{
   echo "bad";
}
</code></pre>
