Compare file content with a variable

lupo

Client
Регистрация
28.05.2012
Сообщения
72
Благодарностей
32
Баллы
18
in version 3 I used something like this to check if URL is already listed in file published-url.txt

{-RegExp.RegExp-|-{-String.Replace-|-{-File.GetBlock-|-{-Project.Directory-}published-url.txt-|--|-0-|-false-}-|-\n-|--}-|-{-FieldData.FieldData-|-●1●0●9●9●3●0●-|-≡1≡4≡9≡6≡4≡8≡6≡7≡6≡8≡-}-|-0-}

I can't find a way to do that in 4 ... :-)

I have added published-url.txt in a list, but after that can't find how to compare the FULL content of the list, not just a line of it


P.S. I have found a solution


I used
"read file" and placed the result in a var {-Variable.PublishedURLs-}, after that with "working with text" (I don't know how this function it's named in eng. version, in my russian version is "обработка текста") and Regex, in the text field put {-String.Replace-|-{-Variable.PublishedURLs-}-|-\n-|--} and in Regex field {-Variable.CheckThisURL-} ... working just perfect.
 

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