I'm dealing with processing of data.
Currently, I'm stucked with this dilemma. I have different set of strings as shown below.
Example:
String 1 = " at March 12, 2004 16:34 by Mark Jacobs";
String 2 = " at March 12, 2004 16:34";
String 3 = " March 12, 2004 16:34 by Mark Jacobs";
String 4 = "March 12, 2004 16:34 ";
I need just to extract the DateTime variable from the individual string. There is no problem of conversion for String 4 since it is quite a straightforward conversion. But my problem will be String 1, String 2 and String 3.
I'm coding it using C#.
Been pondering on how to deal with this for some time.
Hope someone can give me ideas or codes to deal with this.
Thanks!
2007-03-02
05:30:22
·
4 answers
·
asked by
dz7en
1
in
Computers & Internet
➔ Programming & Design