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.180 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.179 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.178 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.177 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.176 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.175 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.174 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.173 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.172 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.171 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.170 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.169 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.167 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.166 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.165 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.164 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.163 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.162 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.161 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas
trackler-2.2.1.160 tracks/delphi/exercises/reverse-string/uReverseStringExample.pas