Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
QuestionHelp me with formatted int32 strings. [modified] Pin
Solid Green25-May-09 20:50
Solid Green25-May-09 20:50 
AnswerRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 21:05
stancrm25-May-09 21:05 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 21:11
Solid Green25-May-09 21:11 
GeneralRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 21:15
stancrm25-May-09 21:15 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 21:29
Solid Green25-May-09 21:29 
AnswerRe: Help me with formatted int32 strings. Pin
Tuwing.Sabado25-May-09 21:27
Tuwing.Sabado25-May-09 21:27 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 21:35
Solid Green25-May-09 21:35 
GeneralRe: Help me with formatted int32 strings. Pin
Tuwing.Sabado25-May-09 21:54
Tuwing.Sabado25-May-09 21:54 
if your string format is constant to have a format like this "ABCD-0000000000", try to split your string to string array then get the second index value and lastly do your Int32.TryParse thing.

 string[] myString = ("ABCD-000066123884").Split('-');<br />
Int32.TryParse(myString[1],out intVar);


Happy Coding...
GeneralRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 21:58
stancrm25-May-09 21:58 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 22:20
Solid Green25-May-09 22:20 
GeneralRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 22:28
stancrm25-May-09 22:28 
GeneralRe: Help me with formatted int32 strings. Pin
Guffa26-May-09 0:57
Guffa26-May-09 0:57 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green26-May-09 17:18
Solid Green26-May-09 17:18 
Questionhow to Know the language of the writing that had been made Pin
Ahmed Khallaf25-May-09 20:27
Ahmed Khallaf25-May-09 20:27 
AnswerRe: how to Know the language of the writing that had been made Pin
Rajdeep.NET is BACK25-May-09 20:44
Rajdeep.NET is BACK25-May-09 20:44 
QuestionRe: how to Know the language of the writing that had been made Pin
Ahmed Khallaf25-May-09 20:57
Ahmed Khallaf25-May-09 20:57 
AnswerRe: how to Know the language of the writing that had been made Pin
harold aptroot25-May-09 23:47
harold aptroot25-May-09 23:47 
GeneralRe: how to Know the language of the writing that had been made Pin
Pete O'Hanlon26-May-09 0:06
mvePete O'Hanlon26-May-09 0:06 
GeneralRe: how to Know the language of the writing that had been made Pin
harold aptroot26-May-09 0:49
harold aptroot26-May-09 0:49 
GeneralRe: how to Know the language of the writing that had been made Pin
Ahmed Khallaf26-May-09 4:08
Ahmed Khallaf26-May-09 4:08 
QuestionProblem in TreeView Pin
lnmca25-May-09 20:09
lnmca25-May-09 20:09 
AnswerRe: Problem in TreeView Pin
tom57200725-May-09 20:54
tom57200725-May-09 20:54 
Questionhow to make a part of string as Bold?? Pin
Hema Bairavan25-May-09 20:07
Hema Bairavan25-May-09 20:07 
AnswerRe: how to make a part of string as Bold?? Pin
Tuwing.Sabado25-May-09 20:19
Tuwing.Sabado25-May-09 20:19 
AnswerRe: how to make a part of string as Bold?? Pin
Hari Om Prakash Sharma25-May-09 20:21
Hari Om Prakash Sharma25-May-09 20:21 

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.