in reply to Re: Reg Exp Help
in thread Reg Exp Help

@fourbytes= unpack("A4" x (length($input)/4), $input);
Careful: this will strip spaces of the end of each string. Use "a4" instead of "A4" as a template to prevent that.

Replies are listed 'Best First'.
Re: Re: Re: Reg Exp Help
by waswas-fng (Curate) on Aug 28, 2002 at 20:27 UTC
    ++, nice catch.

    -Waswas