Hey all,
I need to trim the first couple of letters from a string and stop a
particular character.
Here is some code for example:
DN = "CN=username,OU =computers,OU=a bingdon, OU=MAR,
OU=Customers,DC =company,DC=com "
I need to get rid of just the "CN=usernam e," part (note that i need to
get rid of the " , " also)
I ran across an article that talks about trim() but dont know how that
would work since the usernames will be different every time.
help ?
I need to trim the first couple of letters from a string and stop a
particular character.
Here is some code for example:
DN = "CN=username,OU =computers,OU=a bingdon, OU=MAR,
OU=Customers,DC =company,DC=com "
I need to get rid of just the "CN=usernam e," part (note that i need to
get rid of the " , " also)
I ran across an article that talks about trim() but dont know how that
would work since the usernames will be different every time.
help ?
Comment