I have an attribute that I place multiple values separated by a "#"
character. I'm wanting to pull out the 2nd value using the split()
method. Apparently I'm not using valid syntax.

My variable (varAttr) value looks something like this:
0#cn=admin,dc=system#cn=yogibear,dc=users,dc=data# 12345

What I want if the value:
cn=admin,dc=system

What I'm trying is:
var varSecondValue = varAttr.split("#")[1];

Thanks for you help in advance!!


--
Troy Moreland
------------------------------------------------------------------------
tbmoreland's Profile: http://forums.novell.com/member.php?userid=14837
View this thread: http://forums.novell.com/showthread.php?t=325202