"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Monks,
I need a lil' help with this text manipulation
I've got names in a list like the following: Bob Builder Tinky Winky Bugs Bunny Mickey Mouse and ive basically got put them on separate lines. I think split can do this, and will store it in an array which is what i want but i have no idea how to split every other word?. I was also wondering if anybody knows how to remove spaces from the end of words so if i had "hello " it would give me "hello"...will s// /; do it? Thank you all In reply to split every second word by Anonymous Monk
|
|