|
-
Nov 28th, 2013, 03:18 PM
#11
Re: Extract word between "
 Originally Posted by AceInfinity
This is one of the things I don't like about Visual Basic. Standards need to be better enforced IMO: http://msdn.microsoft.com/en-us/libr.../h63fsef3.aspx
() before or after the type for an array? They deviate from that standard within the very article itself. Intellisense in Visual Studio also shows it the way they suggest not to write it...
Anwyays, a little off topic, but hows the speed of Regex in this case?  For larger data you may want to think about setting some specific regex flags for compiled Regex: http://msdn.microsoft.com/en-us/libr...vs.110%29.aspx Otherwise, use regular string manipulation methods and maybe a StringBuilder, if the data is large enough and lots of string manipulation is required.
Your points are nit picking. MSDN also suggest using cstr over Tostring.... I think il follow examples witnessing dbasnett, paul, forum mod Joacim Andersso, tbh if a member like sitten uses it, whos not famously known on here but but One of the best VB coders if ever known on another forum i dont think i'll worry
http://www.vbforums.com/showthread.p...nsional-arrays
the argument on regex speed on a few lines is laugh worthy. 100k lines will take like what, 1 second?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|