Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: Checking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 23:08
AmbiguousName28-Nov-11 23:08 
GeneralRe: Checking or Unchecking Based on Some Value Pin
Wayne Gaylard28-Nov-11 23:13
professionalWayne Gaylard28-Nov-11 23:13 
GeneralRe: Checking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 23:22
AmbiguousName28-Nov-11 23:22 
Questioncall C++ dll from C# without name mangling Pin
Paulraj G28-Nov-11 17:57
Paulraj G28-Nov-11 17:57 
AnswerRe: call C++ dll from C# without name mangling Pin
Wayne Gaylard28-Nov-11 18:03
professionalWayne Gaylard28-Nov-11 18:03 
GeneralRe: call C++ dll from C# without name mangling Pin
Paulraj G28-Nov-11 18:16
Paulraj G28-Nov-11 18:16 
GeneralRe: call C++ dll from C# without name mangling Pin
Richard MacCutchan28-Nov-11 22:58
mveRichard MacCutchan28-Nov-11 22:58 
QuestionRegEx.Split Pin
devvvy28-Nov-11 17:01
devvvy28-Nov-11 17:01 
Hi - Think it's easier just look at the following code fragment than me attempting to explain this. But basically, Regex.Split isn't splitting the source string way I've expected.

Following example try to split the string at "Timestamp" locations - example "hh:mmPM EST"
<br />
static void TestRegularExpressionSplit()<br />
        {<br />
            string Src = "467.00 9:32PM EST 467.32 9:33PM EST 468.18 9:34PM EST ";<br />
            string SplitExpr = @"([0-9]{1,2}[:]{1}[0-9]{1,2}(PM\sEST){1})";<br />
            Regex Expr = new Regex(SplitExpr);<br />
            string[] Tokens = Expr.Split(Src);<br />
            return;<br />
        }<br />


Expected:
467.00
9:32PM EST
467.32
9:33PM EST
468.18
9:34PM EST

Actual:
467.00
9:32PM EST
PM EST
467.32
9:33PM EST
PM EST
468.18
9:34PM EST
PM EST

REF: http://msdn.microsoft.com/en-us/library/ze12yx1d.aspx
dev

AnswerRe: RegEx.Split Pin
Peter_in_278028-Nov-11 17:18
professionalPeter_in_278028-Nov-11 17:18 
AnswerRe: RegEx.Split Pin
devvvy28-Nov-11 17:29
devvvy28-Nov-11 17:29 
AnswerRe: RegEx.Split Pin
PIEBALDconsult28-Nov-11 17:48
mvePIEBALDconsult28-Nov-11 17:48 
AnswerRe: RegEx.Split Pin
BillWoodruff29-Nov-11 14:22
professionalBillWoodruff29-Nov-11 14:22 
GeneralRe: RegEx.Split Pin
devvvy29-Nov-11 22:56
devvvy29-Nov-11 22:56 
GeneralRe: RegEx.Split Pin
BillWoodruff30-Nov-11 7:44
professionalBillWoodruff30-Nov-11 7:44 
QuestionDatagridview autogenerate columns false dont work Pin
ChauhanAjay28-Nov-11 16:36
ChauhanAjay28-Nov-11 16:36 
QuestionAutomatic deployment Pin
Super Lloyd28-Nov-11 14:52
Super Lloyd28-Nov-11 14:52 
AnswerRe: Automatic deployment Pin
Dave Kreskowiak28-Nov-11 15:45
mveDave Kreskowiak28-Nov-11 15:45 
GeneralRe: Automatic deployment Pin
Super Lloyd28-Nov-11 16:07
Super Lloyd28-Nov-11 16:07 
Questioncompare two datatables Pin
jojoba201128-Nov-11 4:35
jojoba201128-Nov-11 4:35 
AnswerRe: compare two datatables Pin
Rob Philpott28-Nov-11 5:37
Rob Philpott28-Nov-11 5:37 
AnswerRe: compare two datatables Pin
SilimSayo28-Nov-11 5:45
SilimSayo28-Nov-11 5:45 
AnswerRe: compare two datatables Pin
PIEBALDconsult28-Nov-11 10:05
mvePIEBALDconsult28-Nov-11 10:05 
GeneralRe: compare two datatables Pin
jojoba201129-Nov-11 20:39
jojoba201129-Nov-11 20:39 
GeneralRe: compare two datatables Pin
PIEBALDconsult30-Nov-11 1:50
mvePIEBALDconsult30-Nov-11 1:50 
QuestionWindows Media Encoder problem with Desktop Experience in windows server 2008 Pin
chandrasenareddybhumireddy28-Nov-11 1:31
chandrasenareddybhumireddy28-Nov-11 1:31 

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.