From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with strings MID$? Date: Thu, 28 Aug 1997 18:33:27 -0700 Organization: Alcyone Systems Lines: 19 Message-ID: <340626E7.47A7682F@alcyone.com> References: <01bcb3ea$4e6e4560$6889d2cd AT inventor DOT worldchat DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vincent Collura wrote: > For those who dont know, mid$ returns the > n'th character to the nth number. > > What is the C++ function to do this? I have > tried StrnCat but the problem with this is you > cant specificy a starting location. There isn't a standard C function do to this for you. You're going to have to write your own. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://37.20.07n/121.53.38w \ "War is like love; / it always finds a way." / Bertolt Brecht