Change string

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
Hi,

I am trying to post ads in a web site and I have problems to repeat same ad.

I see my competition and they do something like this.

you have this:
This is a post number one

and later have this:
_This iis a poost nnumbeer one

or this:
thiis is aa postt nummber onne

or.....

I think and think how I can emulate this but I no find good solution.

I can't use an sppiner, my text are in spanish and I don't find any spinner good for this language.


Thanks for your help
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Create custom replace actions which will perform replace letters. New build 4.2.0.0 has better replace options than 4.1.0.0
 

hotohori

Client
Регистрация
10.02.2012
Сообщения
154
Благодарностей
40
Баллы
28
Hi,

You should be able to do with manual spin

Код:
{This|_This|Thiis} {is|iis} {a|aa} {post|poost|postt} {number|nnumbeer|nummber} {one|onne}
Use spintax like the above in Word Processing and choose Spintax.
 

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
thanks both.

I have this know:

1. I take line string form list.

2. set value 0 to loop

3. Create random letter

4. Create random number

5. Replace {randomletter} for {randomletter}{randomletter} // Math number {random number} ;Here is the problem I want replace random math not firt, no last, no all. I try with random number but how I can know how many number of letters have text?

6. increase loop

7. If loop<10 then:repeat
 

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
I forget picture

 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Try to use word random as match number
 

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
I understand what do you say but I don't undertand what do you mean. Do you understand? :D
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
I mean put word random instead of variables where you set match numbers.
 

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
Now understand I think
how I can take random word from string? I never use this.
 

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
Working!!!
I take sting and put to list and later take random from word list.

Thanks for your help
 

rostonix

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

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