Sha256: d4174f7902d23ffda9b9025af0ea5b54a498b304331c15d7836c9ecbada00beb

Contents?: true

Size: 276 Bytes

Versions: 109

Compression:

Stored size: 276 Bytes

Contents

unit uReverseString;

interface

function reverse(aInString: string): string;

implementation

function reverse(aInString: string): string;
var
  i: integer;
begin
  result := '';
  for i := Low(aInString) to High(aInString) do
    result := aInString[i] + result;
end;

end.

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.138 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.137 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.136 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.135 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.134 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.133 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.132 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.131 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.130 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.129 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.128 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.127 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.126 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.125 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.124 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.123 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.122 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.121 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.120 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas