Skip to main content
All lessons

Working with Text

7 min · Rust

Join strings, measure them, and change case with String methods.

Rust · Working with Text0/5 cleared

Enemy 1 of 5

Rust strings are String values. Join two with + (both must be &str or owned). Use & for borrowing.

You
Packet Wolf

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Hello, Ada