How do I change the CSV file delimiter from a comma "," to a carrot "^"?

Kris Jensen
Tera Guru

Hi.   We are exporting data as a CSV (customer requires it) but we can't use a comma as one of the fields is a comments field which is full of commas.   I want to use a carrot ^, since this is not a common character.

how do I change or set the delimiter character?

Kris

14 REPLIES 14

Thanks!


It's a "caret"


This might help, which I just posted CSV Primer & Troubleshooting Tips


OK.   So 2 questions.  



1.   Why can't I just replace the comma with a caret?   That would be the simplest way.


2.   Where/when does this run?   You say Script Includes...   I'm still new to Service Now, so if I create it there, it will always run when I do an CSV export?


1. If your data happen to contain a caret, although rare, it'll cause issues.



2. How are you generating your CSV export?