dart get first 5 characters code example Example: first caractere in String in dart String mystring = 'Hello World'; print('${mystring[0]}');