in reply to String manipulation
If you want to remove all instances of ^@, you could use a regular expression like this:
This produces the following output:#!/usr/bin/env perl use warnings; use strict; while (<DATA>) { s/\^@//g; print; } __DATA__ 08/07 03:53P 00:00:46 130 9 4295794 08/07 03:56P 00:01:35 T001 001 ^@^ +@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ 08/07 04:13P 00:00:04 08/07 04:13P +00:00:02 T001 001
If this is not what you are asking, then please give us more of your input, and expected output.08/07 03:53P 00:00:46 130 9 4295794 08/07 03:56P 00:01:35 T001 001 08 +/07 04:13P 00:00:04 08/07 04:13P 00:00:02 T001 001
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: String manipulation
by bajangerry (Sexton) on Aug 07, 2007 at 20:39 UTC | |
by GrandFather (Saint) on Aug 07, 2007 at 21:18 UTC | |
by bajangerry (Sexton) on Aug 07, 2007 at 21:49 UTC | |
by graff (Chancellor) on Aug 07, 2007 at 22:28 UTC | |
by GrandFather (Saint) on Aug 07, 2007 at 22:20 UTC |