DEV Community

Cover image for String in Dart
Shivʌm Gʋptʌ
Shivʌm Gʋptʌ

Posted on

String in Dart

Hey guys, welcome to the new article! Today, we’re diving into String in Dart. If you’re new to programming, Strings are essential for handling text data like names, addresses, or even entire text of books.

In computer programming, a String is a sequence of characters. While computers speak in numbers, every character in a String is assigned a unique number within the computer’s language, forming what’s called a character set.

Once you create a String in Dart, you can’t change its characters directly; you create a new String if modification is needed. Each character in a Dart String is represented by a 16-bit code unit, allowing Dart to handle a wide range of characters from various languages.

When you press a key on your keyboard, you’re essentially sending a number to the computer, which converts it into the corresponding character and displays it to you.

Here you can read full article on the topic
Strings in Dart click here and join to the community of Flutter where you.
Strings in Dart

Top comments (0)