Message-Id: <1.5.4.32.19970829124409.006b22bc@dce03.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 29 Aug 1997 09:44:09 -0300 To: djgpp AT delorie DOT com From: Cesar Scarpini Rabak Subject: Re: Help with strings MID$? 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. > FWIW, there is an implementation of exactly these functions in a package called CBase avalilable in the MSDOS/C subdirectory of Simtel mirrors. HTH, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~