İptal Edildi

Simple text data parser/analyzer in Delphi

Implement using Delphi 2010 (or compatible) a function:

Procedure AnalyzeList(var input : TStringList; var output : TStringList);

Input TStringList contains text data such as the attached sample file. Most (but not all) lines of the input list contain a registry key. For example, one line of input data could be:

Foobar(HKEY_CLASSES_ROOT\[url removed, login to view]\shell\open) 1 [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view]

From this data, the AnalyzeList function must extract all the registry keys (e.g. "HKEY_CLASSES_ROOT\[url removed, login to view]\shell\open") and the second numeric value (e.g. [url removed, login to view]) and list the registry keys to the output list sorted by the numeric value starting with the biggest values.

For example, lets say the input is:

Foobardfsds (HKEY_CLASSES_ROOT\[url removed, login to view]\shell\open) 1 [url removed, login to view] fds [url removed, login to view] [url removed, login to view] [url removed, login to view]

foo

Foobar(HKEY_CLASSES_ROOT\*\) 112 [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] 432432

gdfd (HKEY_CLASSES_ROOT\[url removed, login to view]\shell\) 2 [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view]

e43543242

Foobar(HKEY_CLASSES_ROOT\[url removed, login to view]\) 43 [url removed, login to view] 43424 [url removed, login to view] [url removed, login to view] [url removed, login to view]

In this case the output would be:

[url removed, login to view] HKEY_CLASSES_ROOT\*\

[url removed, login to view] HKEY_CLASSES_ROOT\[url removed, login to view]\

[url removed, login to view] HKEY_CLASSES_ROOT\[url removed, login to view]\shell\

[url removed, login to view] HKEY_CLASSES_ROOT\[url removed, login to view]\shell\open

Only make a bid if you can do this right now. This is a simple job and should not take more than 30 minutes to code.

Beceriler: Delphi

Daha fazlasını görün: sorted data, one key data, sample data input, list sorted, function delphi, delphi open file, attached m3u, delphi registry, key code delphi, text data, simple text job, open m3u, text extract, delphi 2010, delphi function, procedure text, delphi list, simple shell, text input job, simple delphi, simple code key, sample bid text job, job delphi, delphi registry key, data input sample

İşveren Hakkında:
( 588 değerlendirme ) Turku, Thailand

Proje NO: #4444629