Don't mind me... sour grapes cuz you chose Howard's coode and I haven't had my 3rd cup of coffee yet.

Code:
break on
$DN = 'OU=Users,OU=Region1 New York City,DC=somedc,DC=somedc,DC=somedc,DC=some'
$SS = Split(Split($DN,',DC=')[0],',OU=')[1]
$SS ?

$SS1 = Left($SS,Instr($SS,' ')-1)
$SSLeft = Right($SS,Instr($SS,' ')+1)

'SS1 = ['+$SS1+']' ?
'SSLeft = ['+$SSLeft+']' ?



THis is still overly optimistic code. It would break if there are more OUs. For that you should check UBound().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.