Lesson goal: The length of a string

Previous: Introduction | Home | Next: Comparing strings

Often when working with strings, one needs to know how long a string is. This can be found using the string.len() function.
string.len(string)
Move the mouse over a dotted box for more information.

Now you try. Put different strings in between the double quotes of a= line and run the code.

Type your code here:


See your results here: