How to avoid empty lines...?

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
When in the process of parsing i need to parse the exact domain when it goes for registration,

Of course it's working good, but in the text file the parsed domain is combined with empty lines.

The Empty lines may be my unregistered input url's, I need a solution to avoid this kind of things in my template.


ANy suggestion plz...?


Thanks!!!!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Use logic - if action before saving data to check if your line you wanna save is not empty. Something like:

"{-variable.url_to_save-}"!=""
If true - save data
If false - go somewhere else
 

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