Awesome and soooooo easy, I like it! Jay
-----Original Message----- From: Dion Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 9:20 a.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: TIniFile format in delphi but populate from memory stream hope this helps.. ( from the helpfile ) TStringlist property Names[Index: Integer]: string; Description When the list of strings for the TStrings object includes strings of the form Name=Value, read Names to access the name part of a string. Names is the name part of the string at the position indicated by Index. Index gives the position of the string, where 0 is the first string, 1 is the second string, and so on. If the string at the specified position is not of the form Name=Value, Names returns an empty string. Strings of the form Name=Value are commonly found in .INI files. For example, here are a few strings taken from a DELPHI.INI file: DisplayGrid=1 SnapToGrid=1 GridSizeX=8 GridSizeY=8 - Dion. ----- Original Message ----- From: "Jason Coley" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 9:03 AM Subject: [DUG]: TIniFile format in delphi but populate from memory stream Is there a way to parse a string that is formatted the same as an ini file except that the information is not in an inifile, rather it comes from another source? jay ------------------------------------------------------------------------ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/