String.Split

sylvio14

Client
Регистрация
26.03.2011
Сообщения
12
Благодарностей
0
Баллы
1
This fonction is missing in "text processing"?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Data - Text processing - To list (here you set what to use as splitter)
List processing - Get line
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
@rostonix can you give an example?
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
when put data on my template it only take dom and which 1 should i choose ?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You can use the String.Split macro from the older version in the Variables processing or the Text processing actions. A lot of the old macros will work in there. You cannot use the execution result of a branch from V3 in there of course.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Последнее редактирование:
  • Спасибо
Реакции: prosperer888

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
thanks :-) and how i can use my own user agent on my templates?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Последнее редактирование:

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
i test it with

Код:
http://www.proxydetect.com/
and i got the same useragent
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
yup :-) is it only work on zp
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Sure ;-) like it should :-)
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
oh okey :-) thanks
 

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18

sylvio14

Client
Регистрация
26.03.2011
Сообщения
12
Благодарностей
0
Баллы
1
Thx rostonix,
But if my line is: username:assword
and I want password
IN Data - Text processing - To list ,I set ":" as splitter
How to set part 1 like {-String.Split-|-{variable}-|-:-|-1-}
Thx
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
@prosperer88 and @sylvio14.

What I was saying is drag in a text processing action. In the big box for text put in your old macro ....

{String.Split-|-{File.Getstring-|-\Resources\email.txt-|-0-|-false-}-|-:-|-0-} as the value and choose 'To variable'

then for the password you would drag in another text or variable processing action and put your other old macro

{String.Split-|-{File.Getstring-|-\Resources\email.txt-|-0-|-false-}-|-:-|-1-} and give it a variable name.

Hope that helps.

Also you can load the email or whatever file into a table with a separator and then just create a variable for a random number if you so choose and then go to the table processing and put in the variable for the row and column A for the email or column B for the password.
 
  • Спасибо
Реакции: goldsilver и prosperer888

prosperer888

Client
Регистрация
15.09.2011
Сообщения
157
Благодарностей
4
Баллы
18
thanks bigC it help and working :-) and do parsed text with something like "iajsdahsdas"=="" didn't work anymore i learn parsed on zp4 today and i can find the correct once :(
 

Kepperbes

Client
Регистрация
19.12.2011
Сообщения
241
Благодарностей
81
Баллы
28
Just wanna thank BigC and Rostonix for taking the time out to answer questions in this thread.
 
  • Спасибо
Реакции: manbooobs и bigcajones

Triplex

Client
Регистрация
04.02.2011
Сообщения
34
Благодарностей
3
Баллы
8
Can someone please post an Example Template for the Old StringSplit Operation with simple Email:password? Im now testing about one hour and get Nothing then Errors. Please help someone!
Thanks
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
  • Спасибо
Реакции: goldsilver

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

riken

Client
Регистрация
29.03.2012
Сообщения
118
Благодарностей
10
Баллы
18
Just want to know, why did you remove the macros? It seems everybody is wishing it had it...
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Just want to know, why did you remove the macros? It seems everybody is wishing it had it...
Read the first nuaru post here with google translator if you are so interested )
http://zennolab.com/discussion/showthread.php?5167-Об-изменениях-в-макросах

The main idea behind these changes: to make templates more readable (very important for buyers of templates and for creators of templates, cause after some time me, personally, couldn't understand and remember what were some of steps for ))
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
I didnt have any troubles with remembering what some steps are for in V3...

Why???

Because i taged steps and branches and putted comments on, so it wasnt like some crazzy numbers eg {-FieldData.FieldData-|-●9●0●2●5●0●7●-|-≡2≡6≡4≡6≡9≡7≡9≡7≡8≡-}, but it was like this: {-FieldData.FieldData-|-Signup Form-|-username-}

So remembering what is which step for was never an issue for me or my customers... so idea you mentioned (link you gave) is pure BS!!!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Feel free to use zenn3 :-)
That's a product we all paid for)

Why to use something that going you mad?)
Just wait for zennolab guys to polish new version )
 
Последнее редактирование:

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