Internet Direct (Indy)
Home
PreviousUpNext
CommaSeparatedToStringList Function

Fills a string list with values from a comma-delimited string.

Pascal
procedure CommaSeparatedToStringList(
    AList: TIdStrings; 
    const Value: string
);
Parameters 
Description 
AList 
List to store the values.
 
Value 
String containing comma-delimited values. 

CommaSeparatedToStringList is a procedure used to fill the TStringList AList parameter with the values from the Value parameter. 

AList is cleared prior to adding values in the procedure. 

Value is a comma-delimited list of values to loaded in the TStringList. Value can contain items that include the comma separator by using double quotation marks to enclosed the item. For example:

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.