Concatenate String in Script

edited April 2006 in FastReport 3.0
I know that to concatenate string use + sign. But this adds a line break. How can just concatenat strings without the line break added?

For example using this in the script:
Memo1.Text := Memo1.Text + 'line is broken here';

Comments

  • edited 4:07AM
    Delete last char use Delete() funtion.
  • edited April 2006
    I tried this in the script:
    Delete (Memo1.Text, Length(Memo1.Text)-1, 1);
    
    but it didn't work.
    Shouldn't the + string sign behaves like standard Delphi behaves? Is this a bug or a non requested feature?
  • foxfox
    edited 4:07AM
    Waheed wrote:
    I tried this in the script:
    Delete (Memo1.Text, Length(Memo1.Text)-1, 1);
    
    but it didn't work.
    Shouldn't the + string sign behaves like standard Delphi behaves? Is this a bug or a non requested feature?
    Try

    Memo8.text:=Copy(Memo8.Text,1,Length(Memo8.Text)-2)+'XXX';

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.