2

Author Topic: Separation Text Constants  (Read 56 times)

Offline Nymphis

  • Goblin Elite Warrior
  • ***
  • Posts: 27
Separation Text Constants
« on: November 20, 2019, 08:33:39 PM »
Hi Jack :)
I would like to Export a List to a Text file, with each entry on a new line.
I thought using "<ENTER>" as the Separation text would do this, but i can not get it to work.
Any advice?

FN_ToFile("C:\Modz_BMP\Friendslist","<ENTER>")

Cheers Nym

Offline Jack

  • Administrator
  • Goblin Zealot
  • *****
  • Posts: 15509
Re: Separation Text Constants
« Reply #1 on: November 21, 2019, 03:07:21 AM »
You can try replacing <Enter> with these things in quotes

\n
\r\n



Offline Nymphis

  • Goblin Elite Warrior
  • ***
  • Posts: 27
Re: Separation Text Constants
« Reply #2 on: November 21, 2019, 06:02:22 PM »
Hi Jack
I tried this:
FN_ToFile("C:\Modz_BMP\Friendslist","\n")
FN_ToFile("C:\Modz_BMP\Friendslist","\r\n")

The text exported looked like this in the text file all on one line
Alivia\r\nMalcy\r\nJim\r\nKlee\r\nDallasL\r\nCarus\r\nHailsey\r\nJoleene

Offline Jack

  • Administrator
  • Goblin Zealot
  • *****
  • Posts: 15509
Re: Separation Text Constants
« Reply #3 on: November 22, 2019, 03:16:34 AM »
Ya the text constants aren't working, sorry. Thanks for letting me know.