title: laravel eloquent Array to string conversion
body: <p>I building a helper in laravel to return a single field from eloquent.</p>
  
  <pre><code>class Helper {
  
      public static function getAddress($id) {
          //intval($id);
          $result = DB::table('tableaddress')
              -&gt;where('id',$id)
              -&gt;pluck('address');
  
          //dd($result);
          return $result;
  
      }
  }
  </code></pre>
  
  <p>In the view i'm calling it via <code>{!! Helper::getAddress(112233) !!}</code> but getting an error of <code>Array to string conversion</code>.</p>
  
  <p>Here is if the result of <code>dd</code></p>
  
  <p><a href="https://i.stack.imgur.com/kYuMq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kYuMq.png" alt="enter image description here"></a></p>
  
  <p>How do I get the address to return a string. Thanks</p>