Christian Calónico wrote:
> 
> Hi, I need some help working with strings. Suppose that I have $block
> that's a string of 512 bytes.
> 1) How can I have only one byte from it (i.e. i want the third byte)? 2) How
> can I get the first n bytes of the string in another string (substring),
> deleting them from the beginning of the original string?
> Thanks in advance,
> Christian

what you want is substr
perldoc -f substr


/Stefan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to