Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i use dbf as a database Pin
PIEBALDconsult18-May-09 7:01
mvePIEBALDconsult18-May-09 7:01 
GeneralRe: how can i use dbf as a database Pin
Dan Neely18-May-09 7:19
Dan Neely18-May-09 7:19 
GeneralRe: how can i use dbf as a database Pin
Luc Pattyn18-May-09 5:53
sitebuilderLuc Pattyn18-May-09 5:53 
GeneralRe: how can i use dbf as a database Pin
0x3c018-May-09 7:58
0x3c018-May-09 7:58 
QuestionHow to convert Visio files to pdf files in C#.net Pin
NarVish18-May-09 3:19
NarVish18-May-09 3:19 
AnswerRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos18-May-09 3:23
professionalNagy Vilmos18-May-09 3:23 
AnswerRe: How to convert Visio files to pdf files in C#.net Pin
Pete O'Hanlon18-May-09 3:35
mvePete O'Hanlon18-May-09 3:35 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos18-May-09 4:07
professionalNagy Vilmos18-May-09 4:07 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Pete O'Hanlon18-May-09 4:19
mvePete O'Hanlon18-May-09 4:19 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos18-May-09 4:38
professionalNagy Vilmos18-May-09 4:38 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Pete O'Hanlon18-May-09 4:39
mvePete O'Hanlon18-May-09 4:39 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Luc Pattyn18-May-09 4:58
sitebuilderLuc Pattyn18-May-09 4:58 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos18-May-09 5:32
professionalNagy Vilmos18-May-09 5:32 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Luc Pattyn18-May-09 5:37
sitebuilderLuc Pattyn18-May-09 5:37 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos18-May-09 5:57
professionalNagy Vilmos18-May-09 5:57 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Luc Pattyn18-May-09 6:06
sitebuilderLuc Pattyn18-May-09 6:06 
GeneralHow to convert Visio files to pdf files in C#.net Pin
Vipin k. singh Bangloor7-Feb-13 2:34
Vipin k. singh Bangloor7-Feb-13 2:34 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
Nagy Vilmos7-Feb-13 3:13
professionalNagy Vilmos7-Feb-13 3:13 
GeneralRe: How to convert Visio files to pdf files in C#.net Pin
NarVish19-May-09 3:06
NarVish19-May-09 3:06 
QuestionSend PCL from c# to Printer HP LazerJet 4100 Pin
totoprog18-May-09 2:32
totoprog18-May-09 2:32 
QuestionInterface!!? Pin
pcsience18-May-09 2:26
pcsience18-May-09 2:26 
AnswerRe: Interface!!? Pin
Luc Pattyn18-May-09 2:30
sitebuilderLuc Pattyn18-May-09 2:30 
AnswerRe: Interface!!? Pin
molesworth18-May-09 2:34
molesworth18-May-09 2:34 
AnswerRe: Interface!!? Pin
OriginalGriff18-May-09 2:34
mveOriginalGriff18-May-09 2:34 
QuestionMore elegant way then .Split(']'); Pin
Rick van Woudenberg18-May-09 1:11
Rick van Woudenberg18-May-09 1:11 
Dear All,

I have ListView full of things, but basically all the items have the same format :

TY223 [16]
TW121 [223]
...
...

If I want to substract the value 16 and TY223 from TY223 [16] , I go about it like this :


string[] a = itm.Value.ToString().Split('[');
string[] b = a[1].ToString().Split(']');

string first = a[1].ToString().Trim();
string second = b[0].ToString().Trim();


This works fine, however I'm only after the value 16. Is there a more elegant way of extracting this value from the item, instead of using
.Split()


Kind regards,

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.