View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RG III RG III is offline
external usenet poster
 
Posts: 65
Default Find position of date in string

I have the following variable:

str = "The video shows that on 9/24/2019 the suspect entered the store."

What's a good method for finding the position of the first date in a
string? In the above example, it starts at position 25.

Assume that my date formats will be "mddyyyy" or "mmddyyyy"

-Robert