3 lines
99 B
OCaml
3 lines
99 B
OCaml
val str_reverse = implode o rev o explode;
|
|
val string = "asdf";
|
|
val reversed = str_reverse string;
|