[GAP Forum] question about strings

Yevgen Muntyan muntyan at tamu.edu
Thu May 24 18:16:32 BST 2007


Joao Araujo wrote:
>
> I use some programs to produce a file, say text.txt with content
>
> This is
> the
> file.
>
> and I want to use GAP to manipulate it. In order to do that I open the 
> file and write
You can use GAP for this:

input := InputTextFile("foolala");
contents := ReadAll(input);
CloseStream(input);

Best regards,
Yevgen



More information about the Forum mailing list