M
Manfred Suttorp
Jeff said:I'm writing a VB Class that will be calling a COBOL.net class.
I need to put ASCII Low values into a string to pass to the COBOL.Net
method.
The COBOL accepts a large structure, and i need to pad some values
with low values (to "Null" them, and still preserve the spacing in the
structure)... The trouble i'm having is how can i put ASCII 0's into
my VB string?
Well, In C# you can just concatenate string and char types. I suppose VB
supports that as well.
Maybe this C# fragment will help you a bit:
string str = "sometext" + (char)0;
Regards,
Manfred