title: How do I convert this fetch response to a string?
body: <p>I have a url <a href="https://blah/configs.ini" rel="nofollow noreferrer">https://blah/configs.ini</a></p>
  
  <p>It basically looks like this: </p>
  
  <pre><code>[cdmglobal]
  collectionHomepageImage = "upload"
  customLandingPageAltText = ""
  customLandingPageImage = "images/landingpage/small-monographiiif2.jpg
  ...
  ...
  </code></pre>
  
  <p>I need the name of that customLandingPageImage. My plan was to put it into a string and then grab the bit after '/images/landingpage' until I get to '.jpg'</p>
  
  <p>I've tried this</p>
  
  <pre><code>let newSource = "http://blah/configs.ini";
  fetch(newSource)
  .then(function(response) {
      let responseString = response.text();
      console.log(responseString);
  }).catch(function() {
      console.log("error");
  });
  </code></pre>
  
  <p>Now in Chrome dev tools, it shows me:</p>
  
  <pre><code>Promise
      __proto__: Promise
          [[PromiseStatus]]: "resolved"
          [[PromiseValue]]: "[cdmglobal]↵collectionHomepageImage = "upload"↵customLandingPageAltText = ""↵customLandingPageImage = "images/landingpage/small-monographiiif2.jpg
  </code></pre>
  
  <p>I really just want that promiseValue but it only returns it in the form of a promise value, not a string.</p>