🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14594

Java Language question

#14594
From: Shawn Clark
Date: Tue, 17 Aug 1999 00:00
12 lines
832 bytes
Easy question.

I am writing an applet to parse an HTML page.

Since I am a newbie to Java, I am unsure about how to do some string
comparisons.  I need to write a function to strip all Carriage Returns and
Linefeeds from a given string.

Now, this is easy enough to do in Delphi, just compare the character to #13,
#10 or Char(13), Char(10).

But, how is this done in Java?
Technical Details
Message-ID: <7pc5jh$ssq3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,60e8da29f66dfb40,start
X-Google-Attributes: gidf74b3,public
From: "Shawn Clark" <shawn@shift4.com>
Subject: Java Language question
Date: 1999/08/17
Message-ID: <7pc5jh$ssq3@forums.borland.com>
X-Deja-AN: 513866193
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language