🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12722

Re: How to replace ' ( ' in a string with a ' \( ' ?

#12722
From: Hans Galema
Date: Tue, 18 Nov 2003 21:29
17 lines
1391 bytes
Richard Yu wrote:

> String aStr="\";
> char aChar='\';

> both way don't work.

You could provide the compiler error for this.

Just saying it won't work is not enough.

Try:

	String aStr="\\";
	char aChar='\\';

Hans.
Technical Details
Message-ID: <3fba8e62$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fba8b48$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1e8f25b1f3fa6bc7
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-18 13:34:24 PST
Date: Tue, 18 Nov 2003 22:29:24 +0100
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to replace ' ( ' in a string with a ' \( ' ?
References: <3fba8b48$1@newsgroups.borland.com>
In-Reply-To: <3fba8b48$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.108.11
Message-ID: <3fba8e62$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069190754 129.125.108.11 (18 Nov 2003 13:25:54 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail