Zeilenumbruch im String erzwingen

  • Hallo @all.


    Also ich habe eine Variable.
    Dim text as String


    Diese Var fülle ich mit Strings.


    text = text + "hallo"


    Ich will aber dass der String auch Zeilenumbrüche enthält.
    In Java würde das so aussehen.


    text = text + "hallo" + "\n"
    text = text + "du"
    Ausgabe text:
    hallo
    du


    In Notes geht das so nicht.
    Gibt es da eine Andere Konstante daüf?


    MfG
    Roman

  • Hallo,


    klar, das geht auch in Notes.

    Code
    text = text & "hallo" & Chr(13)
    text = text & "du"


    ergibt als Ausgabe:
    hallo
    du