On Nov 13, 2007 9:56 AM, Brown, Rodrick <[EMAIL PROTECTED]> wrote:
>
> How can I split a string based on this char? Or even print it in perl
> Thanks.
snip

I assume you are talking about the Start of Header ASCII control
character.  This is character 1 in the ASCII set, so you should be
able to split on it with

my @fields = split "\001", $record;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to