Hi all

I am writing (slowly) a VB.net application for my AD.

Got the AD integration working, and got the computer name parsing to a variable, but it has CN= in front of it, which I don't want. Is there any way I can ask VB.net to strip this out? I know in excel there is a count() function (if I am right?). Anything similar in vb.net?

Response muchly appreciated thanks.