Focus mode

Rust Fundamentals

Strings and Text

A String is a vector of data type u8. And it shows all vector properties while str is just a string expression.

To understand string and str differences in more detail, you can watch this video that explain the subject in detail here:

https://www.youtube.com/watch?v=ClPrjjHmo2Y 

Char is the type that holds 32-bit unicode of characters.

To understand chars in more detail, additional resource can be found here:

Video: https://www.youtube.com/watch?v=R4WvwhY-Km4 

left-disk

Programs to Accelerate Your Progress in a Software Career

Join our 4-8 month intensive Patika+ bootcamps, start with the fundamentals and gain comprehensive knowledge to kickstart your software career!

right-cube

Comments

You need to enroll in the course to be able to comment!