Jon
Fri Jun 03 14:00:46 CDT 2005
Craig HB <CraigHB@discussions.microsoft.com> wrote:
> I am using Microsoft.VisualBasic.Strings.InStr() and
> Microsoft.VisualBasic.Strings.Mid() to manipulate strings.
>
> Is there a better way ? i.e. by using the framework.
Yes - using the methods of the String class will make your code far
more idiomatically .NET, rather than looking more like classic VB. You
*may* gain some performance, but more importantly your code will be
more readable to people from other .NET languages.
--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too