[SOLVED] 'Write to file' weird behavior...

  • Автор темы Автор темы pete
  • Дата начала Дата начала

pete

Client
Регистрация
11.07.2012
Сообщения
47
Реакции
2
Баллы
0
Hi,

when i'm trying to write a line to a text file, I get this:

word1:
word2:
word3:
word4


sometimes this:

word1:word2:
word3:word4


instead of this:

word1:word2:word3:word4


Any idea of how to fix it?

cheers
pete
 
Use text processing - trim to variables before using them.
it will cut all unnecessary spaces and breaklines)
 
  • Оценить
Реакции: pete
works

thanks
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)