🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
2 messages
2 total messages Started by Jonathon Tue, 16 May 2000 00:00
Trim and other String methods
#667
Author: Jonathon
Date: Tue, 16 May 2000 00:00
12 lines
729 bytes
Hi guys,
I have a quesiton, I know trim can cut out all leading and trailing white
space.
Is there a similar method that will turn the following
"a,b'd"d.g
into 
abcddg?

So basically it removes all puncutation marks and stuff!

Cheers
Jonathon Batesy
Re: Trim and other String methods
#669
Author: Jonathon
Date: Wed, 17 May 2000 00:00
15 lines
884 bytes
Jonathon <batesy@opera.iinet.net.au> wrote:
> Hi guys,
> I have a quesiton, I know trim can cut out all leading and trailing white
> space.
> Is there a similar method that will turn the following
> "a,b'd"d.g
> into 
> abcddg?

> So basically it removes all puncutation marks and stuff!

I just remembered Strign Tokenizer is my friend! :)

Cya
Jonathon
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads