How can I use chrB in Lotus Script

I use ADODB.Recordset and Appendchunk, but in order to make this work it seems that I have to convert the text to chrB. This function is not present in LotusScript. How can I then make this work? In Visual Basic there exist this code:

Function StringToMB(S)

Dim I, B

For I = 1 To Len(S)

	B = B & Chr(Asc(Mid(S, I, 1)))

Next

StringToMB = B

End Function

Subject: Use chrB in Lotus Script the dirty way

A dirty way to do it (but it works) is to put the text into a file and use ADODB.Stream.LoadFromFile to get it. Then it works.

This way you may use xmlhttp to post requests to another server. Works great :smiley: