Re: String Parsing : Best Methods : VBA



Possibly by using regular expressions

http://support.microsoft.com/default.aspx?scid=kb;en-us;818802&Product=vbb
HOW TO: Use Regular Expressions in Microsoft Visual Basic 6.0

--
Regards,
Tom Ogilvy



"vmegha" <vmegha@xxxxxxxx> wrote in message
news:1138024167.518078.318160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Anybody, with any advice / suggestions on what is the best methods
> /practices on parsing strings. I have a really huge string, that
> provides a major performance Bottleneck while reading through. Right
> now I split it by a delimiter, fill it into a Variant and run through
> each (shorter length) string within the Variant, and use Instr , Mid$
> and Right$ while parsing out a Key, Value Pair. Any ideas, any
> articles?
>
> Thanks in Advance,
> Regards,
> Megha
>


.



Relevant Pages

  • Re: Possible bug in SoundexInt?
    ... Regards, JohnH ... Could not convert variant of type (String) into type ...
    (borland.public.delphi.non-technical)
  • Extract data using regular expression
    ... I would like to extract JAVA (or C++ or whichever present) from this ... string using regular expressions. ... with regards, ...
    (comp.lang.java.programmer)
  • Re: How to get URLs from a HTML file
    ... Have a look at Regular Expressions. ... Regards, ... > links in this string into an array? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Serious Perl Regular Expression deficiency?
    ... I started doing Perl 2 years ago and have ... > conclusion that regular expressions have a serious ... This is serious because the not string ... If you want to pull out the contents of XML comments you could do this. ...
    (comp.lang.perl.misc)
  • Re: Remove characters from string
    ... and your link took me to the templates page at microsoft office. ... there expaining regular expressions unless you meant I should search for it. ... | them to the same format for ease of processing. ... | the string I remove extraneous characters. ...
    (microsoft.public.excel.programming)