stream string convert