Created
March 26, 2020 17:02
-
-
Save lordvidex/722faeaefd438cd7657a28391aa60953 to your computer and use it in GitHub Desktop.
Evans Owamoyo:: Day 1 Track 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String reversedString(String s){ | |
return s.split('').reversed.join(); | |
} | |
void main() { | |
String s = 'Evans is a geek'; | |
print(reversedString(s)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment