I have a comma delimited string or array received from the getuserou UDF. The returned string looks like this:

OU=Users,OU=Some Site,DC=somedc,DC=somedc,DC=somedc,DC=some

What I need from the string is the second delimited value, "OU=Some Site". From there I need to strip the OU= and further break it down into "Some" and "Site" and assign each to a variable.

I've looked at the manual at ASCAN and SPLIT, but can't quite see how to make them do the job I need. Any pointers in the right direction would be appreciated.

Regards
Bill R.