We present a general algorithm which permits us to construct solutions
in string cosmology for heterotic and type-IIB superstrings in four d
imensions. Using a chain of transformations applied in sequence-confor
mal, T duality, and SL(2,R) rotations, along with the usual generating
techniques associated with Geroch transformations in Einstein frame-w
e obtain solutions with all relevant low-energy remnants of the string
theory. To exemplify our algorithm we present an inhomogeneous string
cosmology with S-3 topology of spatial sections, discuss some propert
ies of the solution, and point out some subtleties involved in the con
cept of homogeneity and isotropy in string cosmology.