I am having an issue formatting a .csv file. I wrote a script to create User accounts, the input used for the script is a .csv file exported from Remedy, when the file is exported it is not in the proper format, so I have written the scripting neccesary to take care of that. I am able to accomplish all the formatting to the file that I want to do, but there are blank lines at the end of the file that are throwing things off a bit. I am basically looking for a way to make sure that there are no Carriage returns or blank lines after the last line of valid text. The script I have runs very well except for this one issue. I have exhausted all of my normal research venues, but to no avail.
Thanks,
Z
Thanks,
Z