Page 1 of 1

FIND issue

Posted: Thu Mar 10, 2005 8:25 pm
by skwareks
Hi,

I ran into a problem. I am trying to replace the following code within 77 files. The code is the same in all files:

var d = new Date();
Var date_string = util.printd("yyyy-mm-dd", d);
var newFileName;
newFileName = Page1.Find("FILENAME",1).Value + 'REV=' + date_string + '-' + d.getHours() + '-' + d.getMinutes() + '-' + d.getSeconds() + '_.ps';


but for some reason WILDEDIT is unable to find the code I am trying to replace. It worked fine for other replacements without any problems. But now even if I try to search only for:
var date_string = util.printd("yyyy-mm-dd", d);

it is not successful? Any help greatly appreciated.

Thanks,
Sebastian

Posted: Thu Mar 10, 2005 9:54 pm
by MudGuard
Did you copy and paste the text you try to find?

If not, there might be slight differences like a non-breakable space instead of a space, spaces instead of a tab, a space before the line break, different line breaks ...

Posted: Mon Mar 14, 2005 4:03 pm
by skwareks
Yes, i only copy and paste. It always worked and everything looks correct... hmmmm?