title: Equivalent of explode(), str_replace() in ASP
body: <p>I have a template I am calling from another server.  I have to use some string replaces to fix the URLs, then.</p>
  
  <p>Here is the PHP code:</p>
  
  <pre><code>&lt;?php
  
  $path = $_SERVER['DOCUMENT_ROOT'];
  $currentPage = $_SERVER['PHP_SELF'];
  $template = file_get_contents("http://staging.domain.edu/content/libs/folder/template.html");
  $template = str_replace("src=\"/etc/","src=\"https://dite.edu/etc/",$template);
  $template = str_replace("href=\"/etc/","href =\"https://site.edu",$template);
  $template = str_replace("src=\"/apps/","src =\"https:site.edu/",$template);
  $template = str_replace("href=\"/content/","href =\"http://site.edu/content/",$template);
  $template = str_replace("src=\"/content/","src=\"http://staging.domain.edu/content/",$template);
  </code></pre>
  
  <p>then I do this:</p>
  
  <pre><code>list($top, $bottom) = explode('INSERT CONTENT HERE', $template);`
  </code></pre>
  
  <p>My question is: how can I duplicate this in asp? All our services except one use PHP, and this one uses ASP.</p>