print only the first letters of string dart code example Example: first caractere in String in dart String mystring = 'Hello World'; print('${mystring[0]}');