title: How to get First Letter of First & Last name: Vue.js?
body: <p>Suppose, My Name is "Aerofoil Todo Kite" I want AK</p>
  
  <p>I got a code from <code>Stackoverflow</code>. I hope it will work. But my question is, I am printing data from <code>Array of Objects</code> with <code>v-for</code> loop.</p>
  
  <p>How do I pass the Name to compute that?</p>
  
  <p>I think, Computed Property don't accept Parameter.</p>
  
  <p>Then what will be the process??</p>
  
  <p>Method can do. But It is calling for many times!!!</p>
  
  <p>data:</p>
  
  <pre><code>tableData: [
    { customer: 'EE Fashion'}, 
    { customer: 'Tom Hangs Ron'}
  }]
  
  methods: {
   nameOfCompany(fullName) {
       console.log(fullName);
       return "HL";
   }
  }
  </code></pre>
  
  <p>Code of Mine:</p>
  
  <pre><code>&lt;template slot-scope="scope"&gt;
      &lt;p style="margin-top: 5px;"&gt;&lt;b&gt;{{ nameOfCompany(scope.row.customer) }}&lt;/b&gt;&lt;/p&gt;
   &lt;/template&gt;
  </code></pre>
  
  <p>Here is the problem: </p>
  
  <pre><code>{{ nameOfCompany(scope.row.customer) }}
  </code></pre>
  
  <p>This function is calling for many times!!!!</p>
  
  <p><strong>What will be the approach to do that?</strong></p>