up previous next
OpenIString    --    open input string


Syntax
OpenIString(S: STRING): ISTREAM
OpenOString(S: STRING): OSTREAM

Description
This function open strings for input. OpenIString is used to read input from the string S with the help of GetLine .

Example
/**/  S := "hello world\n1!\n2!\n3!";
/**/  D := OpenIString(S);
/**/  GetLine(D);
hello world
/**/  GetLine(D);
1!
/**/  GetLine(D);
2!

See Also