Advertisement

04.29.2005 at 06:18AM PDT, ID: 21407160
[x]
Attachment Details

C# Trim a string, Get mid characters + right characters

Asked by glorfindal in C# Programming Language

Tags: ,

I neeed to trim the following string to get a unique ID for a DataTable.

ProductTypeList:_ctl"3":ProductList:_ctl"10"

I have put quotes around the sections I need to extract. the numbers could be single or double digits but the first set will always have the first "_ctl" before and ":" after, the second set will always be at the end after the last "_ctl"

Thanks in advance

GlorfindalStart Free Trial
 
Loading Advertisement...
 
[+][-]04.29.2005 at 06:26AM PDT, ID: 13894268

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.

 
[+][-]04.29.2005 at 06:34AM PDT, ID: 13894325

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.

 
[+][-]04.29.2005 at 06:35AM PDT, ID: 13894329

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.

 
[+][-]04.29.2005 at 06:43AM PDT, ID: 13894393

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.

 
[+][-]04.29.2005 at 06:51AM PDT, ID: 13894461

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.

 
[+][-]04.29.2005 at 06:57AM PDT, ID: 13894513

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: trim, string
Sign Up Now!
Solution Provided By: b1xml2
Participating Experts: 6
Solution Grade: A
 
 
[+][-]04.29.2005 at 08:43AM PDT, ID: 13895465

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.

 
[+][-]05.02.2005 at 01:00PM PDT, ID: 13912177

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.

 
[+][-]05.02.2005 at 01:03PM PDT, ID: 13912198

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.

 
[+][-]05.28.2005 at 05:01AM PDT, ID: 14101048

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]05.31.2005 at 11:33AM PDT, ID: 14115660

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