add line break to twitter

HI

Just wondering how to add a line break to a tweet
i.e using
 AdvTwitter1.Tweet

adding a #13 does not seem to work
thanks!
Brian

Hi,


  AdvTwitter1.Tweet('line1' + #13 + 'line2');

The line above is working as expected to add a line break to a tweet.
Can you please have a look at what you are doing differently?

HI

I should have made it clearer, I am using a Tedit for the user input
I guess I could search for a #13 in the string from the tedit and then do as in your code example

and it works :) :

var tempstr:string;

  tempstr:=edit1.text
       for i :=1 to length(tempstr)
         do
         begin
        if copy(tempstr,i,3)='#13' then
          begin
            delete(tempstr,i,3);
            insert(#13,tempstr,i);
          end;
         end;