🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2322

Re: TABs and RETURNs

#2322
From: kkaal
Date: Mon, 02 Apr 2001 11:40
43 lines
2083 bytes
I tried this and got

"my string \ is not empty"

Does the escape-sequences depend on local setting of my win2k??

Klaus



"Nabin Thomas" <viewmycard@foremail.nospamplease> schrieb im Newsbeitrag
news:3AC736B9.73BE94F@foremail.nospamplease...
> try
> String Val1 = "my string ";
> String Val2 = " is not empty";
> char Sep = '\t';
>
> String MyResult = Val1 + Sep + Val2;
>
>
> kkaal wrote:
>
> > Hi,
> > what is that: I am trying to fit escape chars into my text like this
> >
> > String Val1 = "my string ";
> > String Val2 = " is not empty";
> > String Sep = "\t";
> >
> > String MyResult = Val1 + Sep + Val2;
> >
> > When I write this to a bufferedWriter - file, I expect under Windows,
when I
> > open this file with MSWord that the Val1 and Val2 are separated by a
> > Tabulator.
> > But this is not the case. I get: "my string \t is not empty"
> >
> > How do I fit in escape-characters into a text?
> >
> > Thanks for help.
> >
> > Klaus
>
Technical Details
Message-ID: <9a9ok8$710$02$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <99usde$fq1$00$1@news.t-online.com> <3AC736B9.73BE94F@foremail.nospamplease>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a0057b4c119c768e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-04-02 04:48:01 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "kkaal" <kkaal@t-online.de>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: TABs and RETURNs
Date: Mon, 2 Apr 2001 13:40:34 +0200
Organization: T-Online
Lines: 45
Message-ID: <9a9ok8$710$02$1@news.t-online.com>
References: <99usde$fq1$00$1@news.t-online.com> <3AC736B9.73BE94F@foremail.nospamplease>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 986211785 02 7200 4qxWgwSS7AO2n 010402 11:43:05
X-Complaints-To: abuse@t-online.com
X-Sender: 520067114078-0001@t-dialin.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400