.Execute FindText command using replace adds "00" where the result should be empty?

  • Thread starter Jennifer Robertson
  • Start date
J

Jennifer Robertson

This is a follow up to the dateTime/xml problem.

I use the function .Execute FindText method. I'm looking for all the
instances of "T00:00:00" in the xml file and replacing it with "" ie
nothing. That is fine.

However if I use wildcards instead of the zeros in the search string (to
grab all the nonzero times), it will delete the time, but replace it with
00.

Thus a date of 2009-06-06T00:00:00 in the first instance would be
transformed to 2009-06-06.

A date of 2009-06-06T00:00:00 in the second instance would be transformed to
2009-06-0600

Odd. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top