013-001-006
Standard Library: String Class Methods
Medium
Problem Description
Standard Library: String Class Methods
Learning Objective: Learn to use String class methods effectively for efficient string manipulation
Overview
For the string "Hello World", use multiple String class methods to retrieve and process information. Use length(), toUpperCase(), and substring() methods.
Specifications
- Get length of string "Hello World"
- Convert to all uppercase
- Extract first 5 characters
- Output each result
Output Format
Length: 11
UpperCase: HELLO WORLD
Substring: Hello
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
