String solutions in three-dimensional field models