Click here to Skip to main content
16,005,038 members
Home / Discussions / C#
   

C#

 
GeneralCompact Framework Timer Pin
j1e1g116-Jul-04 2:31
j1e1g116-Jul-04 2:31 
GeneralRe: Compact Framework Timer Pin
Nick Parker16-Jul-04 2:44
protectorNick Parker16-Jul-04 2:44 
QuestionCompact Framework Progress Bar? Pin
j1e1g116-Jul-04 2:13
j1e1g116-Jul-04 2:13 
AnswerRe: Compact Framework Progress Bar? Pin
Colin Angus Mackay16-Jul-04 2:30
Colin Angus Mackay16-Jul-04 2:30 
AnswerRe: Compact Framework Progress Bar? Pin
Nick Parker16-Jul-04 2:32
protectorNick Parker16-Jul-04 2:32 
Generalhowto split strings using Regular Expression Pin
Stephan Wright16-Jul-04 0:47
Stephan Wright16-Jul-04 0:47 
GeneralRe: howto split strings using Regular Expression Pin
Bitwise Gamgee16-Jul-04 6:42
Bitwise Gamgee16-Jul-04 6:42 
GeneralRe: howto split strings using Regular Expression Pin
Stephan Wright18-Jul-04 20:31
Stephan Wright18-Jul-04 20:31 
Thanks for the example!
I tried to "copy" the result into a TextBox.Text instead of the Console.Writeln, but there was no result displayed.

Well actually when I will start parsing the string I do not know what it will look like! The string above is just an example!

It could even look like this:

Winter, John\r\nMobile 1: +23 (456) 22562\r\nMobile 2: +23 (456) 22563

besides I have to replace the "+" by a predifined string, which finally should be selectable in the Options. At the moment I do want to replace this by "00". And another change which might effect the example: My parsing should be able to parse the string no matter if it's fieldnames are German, English, French or whatever, but as far as I understood, this does not matter.

Well I guess I have to adapt the algortihm above so it also works with
Winter, John\r\nMobile 1: +23(456) 22562

meaning it should work with no matter how many telephonenumbers might be in the string. That's why I didn't try to use a "kind of fixed string" like yours. But maybe it will work too.

My problem actually is I do not have to just display the numbers on screen, I do have to save them somewhere. Because if the string which has to be parsed just contains one number, than it's the number the user (of my proggy) will work on with. But if there are more than one, I have to create a kind of popup for the user choosing one of the numbers. So I have to store them in a kind of array, because as I mentioned earlier I do not know how many numbers are in the string when starting to parse. In your example I do throw the string away after displaying, but well, I have to save it. Maybe that's a little more difficult, because it didn't work replacing Console.Writeln by TextBox.Text and doing a cast to string. Frown | :(

Stephan.
GeneralSysListView32 font question Pin
Dave@KeySpell15-Jul-04 23:49
sussDave@KeySpell15-Jul-04 23:49 
GeneralRe: SysListView32 font question Pin
Nick Parker16-Jul-04 1:48
protectorNick Parker16-Jul-04 1:48 
GeneralRe: SysListView32 font question Pin
Dave11216-Jul-04 3:25
Dave11216-Jul-04 3:25 
GeneralRe: SysListView32 font question Pin
eggie516-Jul-04 6:22
eggie516-Jul-04 6:22 
QuestionHow to get flicker-free richTextBox update ? Pin
evdoxos15-Jul-04 23:09
evdoxos15-Jul-04 23:09 
AnswerRe: How to get flicker-free richTextBox update ? Pin
evdoxos17-Jul-04 21:24
evdoxos17-Jul-04 21:24 
QuestionCould anybody help me Change the C-code into C# code? Pin
dxhdxh15-Jul-04 21:26
dxhdxh15-Jul-04 21:26 
AnswerRe: Could anybody help me Change the C-code into C# code? Pin
Michael P Butler15-Jul-04 22:24
Michael P Butler15-Jul-04 22:24 
AnswerRe: Could anybody help me Change the C-code into C# code? Pin
Matt Gerrans16-Jul-04 7:42
Matt Gerrans16-Jul-04 7:42 
QuestionHow to find path of an exe Pin
SatyaDY15-Jul-04 19:46
SatyaDY15-Jul-04 19:46 
AnswerRe: How to find path of an exe Pin
mav.northwind15-Jul-04 20:04
mav.northwind15-Jul-04 20:04 
GeneralRe: How to find path of an exe Pin
SatyaDY16-Jul-04 0:16
SatyaDY16-Jul-04 0:16 
GeneralRe: How to find path of an exe Pin
mav.northwind16-Jul-04 0:40
mav.northwind16-Jul-04 0:40 
AnswerRe: How to find path of an exe Pin
Matt Gerrans16-Jul-04 7:34
Matt Gerrans16-Jul-04 7:34 
QuestionHow to get POST headers Pin
Anonymous15-Jul-04 18:30
Anonymous15-Jul-04 18:30 
GeneralPrinting Invoice Pin
Antonius_r315-Jul-04 16:55
Antonius_r315-Jul-04 16:55 
GeneralRe: Printing Invoice Pin
sachinkalse15-Jul-04 17:58
sachinkalse15-Jul-04 17:58 

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.