The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 How to remove quotation mark when importing file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
newuser_ca Posted - 05/02/2013 : 3:20:14 PM
OriginPro 8.6 in Win7

Hi,

How can I remove quotation mark when importing .csv file in Origin C.

If I manually import file from the Origin window, I can go to the import Option window and choose "Miscellaneous-->Text Qualifier" from "None" to ". But how to do it in Origin C?

Thanks.
2   L A T E S T    R E P L I E S    (Newest First)
newuser_ca Posted - 05/06/2013 : 3:14:18 PM
Thanks a lot.
It is working well now.
vickey Posted - 05/06/2013 : 02:13:46 AM
Please refer to our sample:
http://ocwiki.originlab.com/index.php?title=OriginC:Import_ASCII#How_to_Remove_Quotation_Marks_from_csv_Files
and code below is especially what you want:
ai.cQuote = '\"';
ai.flags |= AI_FLAG_REMOVE_QUOTES;

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000