delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/29/08:47:52

Message-Id: <1.5.4.32.19970829124409.006b22bc@dce03.ipt.br>
Mime-Version: 1.0
Date: Fri, 29 Aug 1997 09:44:09 -0300
To: djgpp AT delorie DOT com
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: Help with strings MID$?

>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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019