How many times have South Africa been in the world cup?

This will be South africas second world cup ever.