[RESOLVED] Trouble with .substring() and changing case

mrjane

I need to set up a Javascript function that asks for strange string input (lots of capital and small letters), then takes this, corrects the typing, and returns the corrected value. Here's what I have so far: