New line on File access Node

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
John Cunningham
Advanced Member
Posts: 31
Advanced Member

    How do you put a new line on the end of a line in a unix file using the File access Node. 

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member

      you can create a variable called nl as such

      var nl = "\r\n"
       

      And append the variable to the end of the line.

      Sam Simpson
      Veteran Member
      Posts: 239
      Veteran Member
        When populating your file in the file access node you have to place the cursor into the next line by itself then save the node. If you have your cursor at the tail end of a variable then you are creating a very long string of data.