Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The first, string portion of the file name is variable so we search for the "_" character with the function indexOf, and use the returned value in substring to pull out the date from the file name.

...