I have problems in saving strings extracted from a .txt file in an Excel File.
For example in the .txt file there is a text:
6 / 2006
I saved the value 6/2006 in a string variable called Immatricolazione, using regular expressions.
Since there where some empty spaces in the string I manipulated it with the String.Join option.
When I save the variable in the Excel file it inserts a date in the cell giu-2016 and not the value extracted.
I also tried to convert the string to a DateTime and then back to a string
but it didn’t work.
Can anyone kindly help me in solving the problem?
Thank you so much.