Beginner · Lesson 9 of 12

Working with strings

Strings represent text. Text can include spaces, digits, or punctuation. A character position is an index; a substring is a selected part of the text. Keep the original value if later steps still need it.

Try it for yourself

Run the example, then change one thing and see what happens.

13px
main.jsYour ideas, in code.
Loading your editor…
Run your code to see the output here.
Ready to buildUTF-82 lines

Expected output

HELLO, DEVELOPER

Make it your own

Convert a greeting to uppercase.

A quick check

Which habit helps when learning working with strings?

PreviousNext lesson