Jump to content

Split and replace Function


Damilola Adeyemi

Recommended Posts

I tried splitting a column - with the split function and it worked, however, my return value is coming has this (CN=John Doe)

I want just the name details, how do I remove the "CN="

 

This was my expression

case

when [manager] Is Not Null then Split([manager],",",1)

when [manager] Is Not Null then Substitute([manager],"CN=",null)

else "No Manager"

END

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...