7 lines
155 B
Text
7 lines
155 B
Text
Reverse(text : string) : string
|
|
{
|
|
mutable output = [];
|
|
foreach (c in text.ToCharArray())
|
|
output ::= c.ToString();
|
|
Concat("", output)
|
|
}
|