Answers for "reverse srring in dart"

1

reverse srring in dart

import 'dart:io';

void main() {
  
  stdout.write("Please give a word: ");
  String input = stdin.readLineSync().toLowerCase();
  String revInput = input.split('').reversed.join('');
  }
Posted by: Guest on July-05-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language