logo CodeStepByStep logo

ConvertToAltCaps

Language/Type: VB string return

Write a function named ConvertToAltCaps that accepts a string as a parameter and returns a version of the string where alternating letters are uppercase and lowercase, starting with the first letter in lowercase. For example, the call of ConvertToAltCaps("Pikachu") should return "pIkAcHu".

Function: Write a VB function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.