title: How do you convert a string into an InputStream
body: <p>I want to use the SaxParser to parse a string that contains XML code I got using the HTTPUtils.</p>
  
  <p>Can you tell me how to convert the string I got from the HTTPUtils into an InputStream?</p>
  
  <p>I tried to do this but it won't let me compile it:</p>
  
  <pre><code>Sub JobDone (Job As String)
  
      Dim strStringFromWebSite As String
      Dim in As InputStream
  
      If HttpUtils.IsSuccess(strUrlToCall) Then
  
          strStringFromWebSite = HttpUtils.GetInputStream(strUrlToCall)
  
          in = strStringFromWebSite
          XmlParser.Parse(in, "Parser")
          in.Close
      Else
          ToastMessageShow("There was a problem getting a response from the web site.", False)
      End If
  End Sub
  </code></pre>
  
  <p>I get the error on this line of code:</p>
  
  <pre><code>in = strStringFromWebSite
  </code></pre>
  
  <p>Thanks.</p>