Using Trim

If I use the following code:

[Trim(<dbtStaff."VORNAME"> + <dbtStaff."NAME">)]

How do I insert a space between the both db-var's??

Some like this, didn't work:

[Trim(<dbtStaff."VORNAME"> + " " + <dbtStaff."NAME">)]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:18AM
    use the trim function on each member seperately
    ie a memo could contain
    [Trim(<dbtStaff."VORNAME"> ] [Trim(<dbtStaff."NAME">)]
    the number of spaces between the left inner and right inner ] [ will be there
    or if cocantenating to a string var declared in code
    mystring := [Trim(<dbtStaff."VORNAME"> ]+' '+ [Trim(<dbtStaff."NAME">)]

    ;)
  • edited 8:18AM
    kaju74 wrote:
    If I use the following code:

    [Trim(<dbtStaff."VORNAME"> + <dbtStaff."NAME">)]

    How do I insert a space between the both db-var's??

    Some like this, didn't work:

    [Trim(<dbtStaff."VORNAME"> + " " + <dbtStaff."NAME">)]
    Correct is
    [Trim(<dbtStaff."VORNAME"> + ' ' + <dbtStaff."NAME">)]

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.