Mail Archives: djgpp/1997/08/29/08:47:52
>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 -