Great, thank you for the information.
Worms can rob your cat of vital nutrients causing anemia, diarrhea, perhaps with blood; weight loss; dry hair; general poor appearance; and vomiting, perhaps with worms in the vomit. If left untreated the cat could die, so it is advisable to act on you observation.
If it looked like spaghetti, then it was most likely roundworm which can be treated with a wormer containing piperazine as it's active ingredient.
If it looked like a grain of rice or a sesame seed, it is most likely tapeworm. Over the counter products will generally treat the tapeworms if there is Praziquantel in it.
However, the problem with over the counter treatments is that many aren't effective against ‘all' the possibilities. That's why a vet administered med is highly recommended. The vet can determine what kind of parasite (or parasites) your companion may have in addition to tapeworms and treat him accordingly with the latest prescription meds and accurate dose. Please see this link http://www.fabcats.org/worming.html
Other parasite info:
All worms http://www.thepetcenter.com/exa/worms.html
Treatment at the vet will entail bringing a stool sample for analysis, cost of an office visit, and proper medication. If she is up to date on her vaccinations and you can bring her records with you, or use her current vet, the cost should not be more than about $100 to $200 depending on where you live. It could be less, could be more, but that is a rough idea.
I hope this helps you!