Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2006, 10:08 AM
hopeless hopeless is offline
Member
 
Join Date: Nov 2005
Posts: 35
Default TStringList with AnsiString items

Hi there,
i need a stringList, with items larger than 256 characters.. Is there anything like TStringList, working with AnsiStrings?

Many thanks,
Witch King
Reply With Quote
  #2  
Old 02-04-2006, 02:44 PM
gLes gLes is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,273
Default RE: TStringList with AnsiString items

What version of Delphi are you using? As far as I know the TStringList object implements AnsiStrings in all current version of Delphi...

gLes
Reply With Quote
  #3  
Old 02-04-2006, 11:05 PM
hopeless hopeless is offline
Member
 
Join Date: Nov 2005
Posts: 35
Default RE: TStringList with AnsiString items

I am using Delphi 6.163..
And what about TStringStream.. It can handle long strings.. But I need to use it in idHttp.post method, is it possible?
If yes, could anybody post an example?
Now I am using TStringList this way:
Code:
List.Clear;
List.add('name_of_input_field=value');
List.add('name_of_input_field=value');
List.add('name_of_input_field=value');
idhttp.post('url',list);
Reply With Quote
  #4  
Old 02-05-2006, 12:07 AM
gLes gLes is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,273
Default RE: TStringList with AnsiString items

As I said TStringList can handle strings longer than 255 characters.

gLes
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.