Darwin Help

Back to Index

Reverse

Function Reverse - Reverse a string or a list

Calling Sequence  Reverse(s)
Parameters
NameTypeDescription

s {list,string}any string or list
Return Type  {list,string}
Synopsis Reverses a string or a list, i.e. the first character or element becomes the last, the second the before-last, etc.
Examples
> Reverse('ACTTACG');
GCATTCA
See also antiparallel,   Complement,   CreateString,   string