Advertisement

12.03.2007 at 07:22AM PST, ID: 22997560
[x]
Attachment Details

How can I strip characters out of a string

Asked by Prysson in C# Programming Language

Tags: strip, characters, string

I have a string that gets filled with a userid and domain in the format

Domain\userid

There are multiple domains and obvioulsy the userid will be different so the only constant in each string is the "\"

How can I strip out the domain and the "\" soi that all I am left with is the userid.Start Free Trial
[+][-]12.03.2007 at 07:26AM PST, ID: 20395958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.03.2007 at 07:29AM PST, ID: 20395977

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: strip, characters, string
Sign Up Now!
Solution Provided By: bungHoc
Participating Experts: 2
Solution Grade: B
 
 
[+][-]12.03.2007 at 08:50AM PST, ID: 20396681

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.03.2007 at 08:55AM PST, ID: 20396732

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628