Foreign Language Requirement

For colleges that require/recommend three years of a foreign language, would it be sufficient if I’ve only taken two credits of a foreign language (i.e. I started freshman year in year 3), but I finished the fourth year and received a 5 on the AP exam?

http://talk.qa.collegeconfidential.com/college-admissions/1802227-faq-foreign-language-p1.html

It means you need level 3, so if you have AP you have level 5.