Answers for "how to get first char from string dart"

-2

first caractere in String in dart

String mystring = 'Hello World';

  print('${mystring[0]}');
Posted by: Guest on December-06-2020

Code answers related to "how to get first char from string dart"

Code answers related to "Dart"

Browse Popular Code Answers by Language