Doesn't recognize .lenght


#1

I can't understand why, but when I type .lenght to determine the lenght of a string IT DOESN'T RECOGNIZE IT!! help please


#2

I think it should be length.


#3

Syntax, capitalization, and correct spelling are ALL very important elements of coding in (almost) every platform and language. It's amazing how two transposed letters, or forgetting to use camelCase in one line can completely break down the function.

If you find yourself stuck, double check syntax and spelling/case to make sure they all match (same with ' ' versus " " they need to be in matching pairs!). It's the little things that trip you up! :smile: