how to redirect printout into string?



Hello,

we have to use a function which has only a side effect,
printing out its result. Is it possible to redirect
this output into a string (so that we can process that
output)?

Thanks for your consideration.

Oliver