Cancel
Showing results for 
Search instead for 
Did you mean: 

csv import with comma separator

Genius
Genius

Hi,

 

I need to import CSV file that have comma as column separator. I know that I can replace comma by semicolon by open it and replace all comma by semicolon.

 

But, is it possible to set comma as column separator for the readFile/writeFile fonction ? If no is it possible to add it ? 

 

PS : I use Plant Simulation 13.2.1

 

Regards,

5 REPLIES

Re: csv import with comma separator

Pioneer
Pioneer

Hello rpinon,

        It likes that only the following signs are supported by plant simulation.

       (1) Tab (2) blank Space (3) semicolon.

Re: csv import with comma separator

Genius
Genius
Hi,

Yes I know... It is why I ask if it possible to add it in plant simulation.

Regards,

Re: csv import with comma separator

Genius
Genius

Hi,

 

So, if I want to use comma as column separator, I have to develop a parser by my self ?

 

Regards,

Re: csv import with comma separator

Siemens Phenom Siemens Phenom
Siemens Phenom

The object Tablefile has an attribute ColumnSeparator.

Please look at the index of the manual.

Re: csv import with comma separator

Genius
Genius

Yes, but i can't use it like this => ColumnSeparator = ","

 

Regards,