#46337 - 01/07/14 04:55 PM
search and replace
|
OL Expert
Registered: 02/13/13
Posts: 320
Loc: Ontario
|
Hi, can someone help me to get this right please. I get data that names always moves on the page they are not on the same location. like below.
Fist Name David Last Name John
I need to search for the "First Name" on the page and store the entire line on a variable I also need to search for the "Last Name" on the page and store the entire line on the second variable
Than I need to remove these two lines because they are on the wrong location.
Then I need to print the two variable on the correct position on the page.
Your help is appreciated.
Thanks
|
Top
|
|
|
|
#46353 - 01/08/14 11:46 AM
Re: search and replace
[Re: Walli]
|
OL Expert
Registered: 02/13/13
Posts: 320
Loc: Ontario
|
|
Top
|
|
|
|
#46359 - 01/08/14 02:11 PM
Re: search and replace
[Re: Walli]
|
OL Expert
Registered: 02/13/13
Posts: 320
Loc: Ontario
|
I'm stuck here, Can someone help me to write a vb-script to search for a string "walli" on a line, could be on line 20 or anywhere on the data page, and store the entire line result on a variable and replace the initial value by "". thanks
Edited by Walli (01/08/14 02:13 PM)
|
Top
|
|
|
|
#46360 - 01/08/14 02:54 PM
Re: search and replace
[Re: Walli]
|
OL Expert
Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
|
Walli,
Do you want a vb-script or a PPtalk script? (since this is the PlanetPress Design forum, I assume you want the latter) Also, have you opened a support request via the web as Cosimo suggested?
Trying to help you through this forum is going to be very time consuming for everyone since you didn't provide any relevant info.
_________________________
Technical Product Manager I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen
|
Top
|
|
|
|
#46364 - 01/08/14 03:08 PM
Re: search and replace
[Re: Walli]
|
OL Expert
Registered: 02/13/13
Posts: 320
Loc: Ontario
|
Hi Guys, YES I got the support team to help me to search for the string and save the entire line info into a variable and use it but I need a little bit more help to replace the original string to " " because it's not needed anymore. I'm using the variable value instead. Any suggestions please.
The reason why I got this here and with support is because the job is urgent. thanks for your support.
Thanks.
Edited by Walli (01/08/14 03:09 PM)
|
Top
|
|
|
|
|
|