in reply to Split Help
works for me.
could you give us an example of what doesn't work?[sandy]perl -e '$x="hello"; $y="thishelloyouhellotoday"; @a=split /$x/ +,$y; print "@a\n";' this you today [sandy]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Split Help
by de2425 (Sexton) on Mar 16, 2009 at 20:50 UTC | |
by shmem (Chancellor) on Mar 16, 2009 at 22:03 UTC | |
by jwkrahn (Abbot) on Mar 16, 2009 at 21:38 UTC |