title: query - excluding prefix from field results
body: <p>I wrote query that returns result based on debug field that is set on 0 or 1. 
  On the given result I have some strings that include prefix <em>dev_</em> that I want to remove from the results. How can I do that?</p>
  
  <p>This are my results..</p>
  
  <pre><code>{
      "success": true,
      "data": [
          {
              "serviceUrl": "dev_url",
              "serviceUsername": "dev_username",
              "servicePassword": "dev_password"
          }
      ],
      "message": null
  }
  </code></pre>
  
  <p>And this is the code..</p>
  
  <pre><code> if ($debug = true) {
          $query = $this-&gt;getClientRepository()
              -&gt;createQueryBuilder('c')
              -&gt;select('c.serviceUrl', 'c.serviceUsername', 'c.servicePassword')
              -&gt;where('c.debug = :debug')
              -&gt;setParameter('debug', $debug);
  
      }else {
  
          $query = $this-&gt;getClientRepository()
              -&gt;createQueryBuilder('c')
              -&gt;select('c.SecondServiceUrl', 'c.SecondServiceUsername', 'c.SecondServicePassword');
      }
  
      return $query-&gt;getQuery()-&gt;getResult();
  </code></pre>