Subject:
|
Re: Delphi Help Needed: Converting string to TStringList?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 1 Oct 2002 21:50:18 GMT
|
Viewed:
|
792 times
|
| |
| |
In lugnet.cad.dev, Anders Isaksson writes:
> "Tore Eriksson" <tore.eriksson@mbox325.swipnet.se> skrev i meddelandet
> news:H3B9uK.Jo6@lugnet.com...
> >
> > strCompleteText: String;
> > MyStringList: TStringList;
> >
> > How do I convert strCompleteText (containing LF's) into strings in
> > MyStringList?
>
> MyStringList.Text := strCompleteText;
>
> As long as you want one element in MyStringList for each LF-separated string
> in strCompleteText, and nothing else.
D'ooooh, I tried MyStringList.Add(strCompleteText); and had all
strCompleteText in MyStringList.Strings[0]!
Now it works. Thanks a lot!
/Tore
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|