title: AzurePipeline Build.Repository.Name replace unwanted prefix
body: <p>In Azure Pipleine YAML version the Build.Repository.Name predefined variable contains <code>workspace/reponame</code> value in my case.</p>
  <p>I wanted to remove the <code>workspace/</code> prefix and use the result in a following step.</p>
  <p>I tried many ways but without success, but it seems the replace expression maybe be good for me.</p>
  <p>One tried solution:</p>
  <pre><code>variables:
    myVariable: $[replace(variables['Build.Repository.Name'], 'workspace/', '')]
  
    steps:
      - bash: echo $(myVariable) # show nothing
  </code></pre>
  <p>As i read in documentation the <code>Build.Repository.Name</code> does not accessible in this phase
  The following runtime call show the correct value</p>
  <pre><code>steps:
    - bash: echo $(Build.Repository.Name) # shows: workspace/reponame
  </code></pre>
  <p>Can I do something similar, and what is the correct way?</p>
  <pre><code>- bash: echo $(replace('$(Build.Repository.Name)', 'workspace/', ''))
  </code></pre>