Re: Can I use split to split existing array !

2001-11-03 Thread Jeff 'japhy' Pinyan
On Nov 4, eventualdeath said: >Q1) Can I use the split function to split an existing array (with >several elements ) such as the example below. No. split() uses a string. >Q2) Could it be that the split function can only be used to split a >scalar (one element). Yup. >Q3) Could someone ex

Re: Can I use split to split existing array !

2001-11-03 Thread nafiseh saberi
hi... all of your problem will solve with split.. it is very powerful... please see in... split [ PATTERN [ , EXPR† [ , LIMIT ] ] ] Splits a string into an array of strings, and returns it. If LIMIT is specified, splits into at most that number of fields. If PATTERN is also omitted, splits at th