Strings

Let’s learn about strings and string literals in Dart.

What are strings?

A Dart string is a sequence of UTF-16 code units. UTF stands for Unicode Transformation Format. Unicode is a set of characters in which each character is a unique code unit.

String literals

At face-value, string literals are simply text encapsulated in quotation marks.

Create a free account to access the full course.

Continue your learning journey with a 14-day free trial.

By signing up, you agree to Educative's Terms of Service and Privacy Policy