n3tw0rkadm1n1strat0r
IS-IT--Management
I have a script that reads from a file, and sorts the data out into a text file. Here is the format it reads from:
This code will read the data and put it into a text file:
In the text file it looks like this:
Lastname\
How would I modify the code to make it "Lastname, Firstname"?
Thanks to anyone who can help...
Code:
CN=Lastname\, Firstname,OU=Users,OU=sports group,DC=domain,DC=name, DC=com
This code will read the data and put it into a text file:
Code:
if Mid(strData,1,2)=" C" then
strTemp=Mid(strData, 5, InStr(1, strData,",",1)-5)
In the text file it looks like this:
Lastname\
How would I modify the code to make it "Lastname, Firstname"?
Thanks to anyone who can help...