Hi,
I have the following code
$output += "D", $headerfile[$i]."SALES_DOCUMENT_NUM", $headerfile[$i]."DELIVERY_NAME", "";$headerfile[$i]."Address1"
$output -join "," | Out-File $filename -Append
On some of the addresses it has a comma in the string, the output join to create the csv file is seeing that as a new column rather than as part of the address.
How can I go about keeping a comma in the address but also use it as a delimiter in the CSV?
Thanks
Chris