Re: best design for parse



Stephany,

You would have seen (you are not a newbie) how much time it took especially
for me, before I got it accepted that the used VB.net language in ASPNET was
also a part of the language and not of the framework and therefore suspect
of this newsgroup. Maybe you even saw that last week I wrote that again in
the C# newsgroup.

I only ask to the OP to tell that if it is specialized on a webpage (what
seems to be not the case) to tell that. Most of the persons answering here
are taking windowsforms as default, and in the case of date times I seldom
ask that, because there is "leiter" no DateTime Value equivalent in HTML.

Cor

"Stephany Young" <noone@localhost> schreef in bericht
news:utTgAjhMHHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
It is?

Newsgroup microsoft.public.dotnet.languages.vb provides a forum for
questions and general discussion of Visual Basic .NET.

Source:
http://msdn.microsoft.com/library/en-us/vbcon/html/vboritopsupportsitesforvisualbasicprogrammers.asp


"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:%23%23RArbhMHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
GS,

I was thinking about writting that this was not in the case with
webpages. However windowforms is the default in this newsgroup, therefore
please tell this next time.

Cor

"GS" <gsmsnews.microsoft.comGS@xxxxxxxxxxxxxxxxx> schreef in bericht
news:OIkxvRhMHHA.992@xxxxxxxxxxxxxxxxxxxxxxx
thank you, Cor.

However, I must be thick. I don't quite get the drift as with regard to
2007. are we talking about a new release of studio, .net frame work or
just
the release or patch to come out in 2007.

how would that handle string date mixed with other data?

Actually the original source of the data is displayed html table placed
in
clipboard. the objective to standardize the date string to yyyy-mm-dd
and
then pass on to other components for processing and storage

"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:%23Qj7TbWMHHA.3944@xxxxxxxxxxxxxxxxxxxxxxx
GS,

Maybe can you avoid this in 2007 and all things like that as
DateTime.parseExact, but have a look to the nicely by Microsoft inbuild
globalization and than the to that related ToString option.

Cor

"gs" <gs@xxxxxxxxxxxxxx> schreef in bericht
news:OtrnsPTMHHA.4720@xxxxxxxxxxxxxxxxxxxxxxx
let say I have to deal with various date format and I am give format
string from one of the following
dd/mm/yyyy
mm/dd/yyyy
dd/mmm/yyyy
mmm/dd/yyyy
dd/mm/yy
mm/dd/yy
dd/mmm/yy
mmm/dd/yy
dd/mm
what is the best way to come up a relevant regex for the incoming
format
string
a) use two array and statically match
b) use regex to find the order











.



Relevant Pages

  • Re: best design for parse
    ... However windowforms is the default in this newsgroup, ... how would that handle string date mixed with other data? ... what is the best way to come up a relevant regex for the incoming ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Operator overloading in C
    ... All development of C as an independent language has ... making any changes or improvements to the standard ... The lack of a counted string data structure, ... Pointers can't be used for arg1 or arg2. ...
    (comp.std.c)
  • Re: syntax...
    ... B&D on the part of the language designer. ... probably handle concatenation of string literals by itself, ... bitwise XOR, or if not that, then exponentiation.) ...
    (comp.lang.misc)
  • Why C Is Not My Favourite Programming Language
    ... C has no string type. ... compiler take care of the rest. ... Why does any normal language ... the programmer fail. ...
    (comp.lang.c)
  • Re: Controlling Javascript from server side
    ... but five different language implementations here. ... 'true' means that the request must be handled asynchronously. ... There is exactly *no* reason for such a thing here. ... | percent-endoded string). ...
    (comp.lang.javascript)