Quantcast
Viewing all articles
Browse latest Browse all 21975

Parse a file name and export to a CSV file

I would like to scan a folder that contains JPG files and parse the file name into a CSV file.  All the files have exact same convention separated by "-".  (For example:  800x800-Visio-large.jpg)  I would like CSV file to contain 3 separate columns; Resolution, Type and Size.

I tried and I'm having issue converting object to string since I don't want .jpg in the CSV file.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>