develooper Front page | perl.beginners | Postings from March 2003

Two small string questions

Thread Next
From:
Christian Calónico
Date:
March 27, 2003 06:08
Subject:
Two small string questions
Message ID:
BAY1-F40QvGKJwVxrPy000132a4@hotmail.com
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




_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About