Vote UpVote

Exploring Delphi XE3 – Record Helpers for simple types – System.SysUtils.TStringHelper

The Road to Delphi – Delphi X3 introduces a very cool language extension, which is Record Helpers for simple types. So you can add a set of fields, properties or methods to strings, integers, Double, TDateTime and so on. In this post I will show you the TStringHelper record helper for the string type defined in the System.SysUtils unit. Take a look to the definition of this record helper. TStringHelper = record helper for string private function GetChars(Index: Integer): Char; inline; function GetLength: Integer; inline; class function CharInArray(const C: Char; const InArray: array of Char): ...
Favorite? Off-Topic? Rodrigo @ 2012-09-06 00:31


Visits: 1122
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Bart van Dijk
Cobus Kruger
Felix Colibri
Primoz Gabrijelcic
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)