Can ZP split values?

jp1

Client
Регистрация
23.01.2011
Сообщения
234
Благодарностей
2
Баллы
0
Values that are sitting inside comma separated files. I don't mean split a csv file into pieces, but split the actual value (which would be an article) in three or four bits?

If it's more complicated and requires own code addition to ZP MP, can you give it to me? ;-)
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
What the rule for split?
What is used as separator?

You need to post more information
 

jp1

Client
Регистрация
23.01.2011
Сообщения
234
Благодарностей
2
Баллы
0
I'm currently using tab separated values with no delimiter as split method when it comes to values. One of the values would be the one requiring the split, and ideally there would be two possible paths to take. If the value was smaller than, say, 100 words, no split would be necessary. But if it's over 100 words, and under 400, only two would be needed. Over 400, three splits would be best. Then to improve the randomness, the splits would occur not at 100 and at 400 but at ranges going from, say, 80 to 120 words, and 370 to 420.

I can never quite handle regex, but would you use some kind of regex to split this or is there something easier? I can't imagine regex has a division operator, no?
 

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