Free taster
5 of 6 sections open
Working with Text
Working with Text
Strings are everywhere - names, addresses, passwords, messages. String handling is the art of manipulating text. Need to extract the first 3 characters? Check if an email contains "@"? Convert to UPPERCASE? Concatenate first name and surname? These operations are essential for any program that deals with text!
Now try it yourself
Quiz · Question 1 of 15
The string variable word = "Hello". What does word.length return?
Tap an answer to check it