I need to remove the prefix(domain name) if exist in front of a username from a session variable.
paramsql.Value = Session("ssNtUser")
say the domain is za
username is macupryk
I would like to remove the za\ so in the session variable I have
macupryk only but the domain name can change. Also there might not even be a domain name with a slash.
Thanks.