Forwarded on behalf of Moshe:

I would like to know if this is OK?

@array = split(/(--|;)/,$var);

I would like to split on either a double dash or a semi colon with one split using ( | ).

Is that viable, or do I have to test for either one, and split accordingly.

Thanks.

A friend of Mangesh

 
 
 
 
 

Reply via email to