From: Chris Newsgroups: comp.os.msdos.djgpp Subject: Parsing a string from a string Date: Wed, 02 Jul 1997 02:12:45 -0700 Organization: NV Entertainment Message-ID: <33BA1B8D.F9DF7B6D@imag.net> NNTP-Posting-Host: queasy.imag.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Heya I'm writing a small script interpreter program, and I need to know how to get a C-Like string from a line such as this: var str = "This the string I want to get." Right now, I'm using the .cfg file parser in sound.c that came with Allegro 2.2 (I hope nobody minds). I want to get the parts in the quotes in one argv[] for easy processing. Anyway, its 2:09am, so I hope the above is coherent :) If you find this lacking information, just email me back telling me so. Any help is, as always, appreciated. Thanks, chris