Re: Perl string manipulation
From: Roy Johnson (rjohnson_at_shell.com)
Date: 10/22/03
- Next message: Roy Johnson: "Re: Have perl increment a number that shows up before a delimiter"
- Previous message: lloyd christopher: "html templating advice."
- In reply to: jared in ecs: "Perl string manipulation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Oct 2003 10:36:17 -0700
This newsgroup is defunct. Use comp.lang.perl.misc instead.
jared_zubke@und.nodak.edu (jared in ecs) wrote in message news:<9858258e.0310212215.7a2303d5@posting.google.com>...
> I need to get rid of the spaces from the contents of a varible.
tr/ //d;
(This will leave tabs, newlines, and carriage returns alone, only removing spaces.)
- Next message: Roy Johnson: "Re: Have perl increment a number that shows up before a delimiter"
- Previous message: lloyd christopher: "html templating advice."
- In reply to: jared in ecs: "Perl string manipulation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|