How do CSU'S calculate repeated transferable course?

Hello! I know that UC’s calculate the newer grade when repeating a transferable course but how do CSU’s calculate a repeated course that is transferable?

Long story short, I was a UC freshmen in fall 2006 and after 2 quarters was dismissed due to poor grades. I am now a second year at my local cc looking to transfer in fall 2016 after doing some damage control on my old grades. Which brings me to my question and example.

I originally took intro to Sociology at previous UC and failed. I retook at community college and acquired an A. Will that “A” replace the original “F”? if so, how many times can a course be repeated to replace a grade?

Thank you greatly in advance!

bump

Anyone know?