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.

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