sanch01r 0 Light Poster

Does anyone know how to get the adspath attribute value to a better looking string.

Active Directory returns the following: "LDAP://contoso.com/CN=Sanch01R,OU=Managers,OU=Users,OU=InfoTech,DC=contoso,DC=com";

I would like it to read: contoso.com/infotech/users/managers/sanch01r

The IndexOf and Substring methods do not work consistently as we never know how many OU's would be returned, any ideas would be greatly appreciated!