Splitting a string into variable length strings in perl -


i this: subroutine, long string comes input. need split string multiple strings of variable length ex: string composed of numbers, spl characters, alphabet etc. have byte 1, 2 string byte 3 - 30 substring byte 31 - 35 substring , till end of string reached? how can this? please me out sample code

my @fields = unpack 'a2 a28 a4', $_; 

Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -