If I replace my iPhone 4S battery, will I lose my text messages?

I have some text messages on my phone that I would like to keep, but my battery is fried. I need to replace it, but I need to know if the stuff on my phone will be deleted.

No that's on the memory. It's like taking the plug out of a ps3, when you put it back in all the games and messages will be there

No replacing your battery shouldnt affect anything on the phone

No, all of your data (including text messages) will not be changed. It will remain the same, since you did not do anything to temper with the internal HDD.

I don't think so. The battery is just the battery and it's different from the memory. Unless other parts were to be replaced as well.