hi there i want o split this string into 2 arrays

list[15,18,10,9,8]|new|edit|del|view|password

one array has only ids
and others will have new|edit|del|view|password

like:

PHP Code:
array1(15,18,10,9,8)
array2('new','edit','del','view','password'
thanks in advance