TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: LEON VARGHESE
from: JERRY COFFIN
date: 1997-06-07 10:22:00
subject: String manipulation

On (04 Jun 97) Leon Varghese wrote to All...
 LV> I have a string:
 LV> "a:\cpp\filename.cdm" and I want to change its file extension
 LV> so it reads  "a:\cpp\filename.trk"
 LV> I have made an attempt (which I won't post here) which is
 LV> really messy. I am hoping that someone can figure out an
 LV> easier way.
You might want to take a look in Snippets - as I recall, it has some
code for exactly this purpose, though I'm pretty sure it's in C rather
than C++.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.