### Convert String to InputStream

This is an example of converting a String into an InputStream.
`Sub StringToInputStream (s As String) As InputStream
Dim InS As InputStream
Dim data() As Byte = s.GetBytes("UTF8")
InS.InitializeFromBytesArray(data, 0, data.Length)
Return InS
End Sub`
Example usage
XML Parse (using jXmlSax) a return string from a HTTP Job done.
`Sub JobDone(Job As HttpJob)
If Job.Success Then
gParser.Parse(StringToInputStream (Job.GetString), "Parser")
...
`

Changed: , Category: Strings, File: T6C255M1843.htm, ID: 1843