Peter,
[quoted text, click to view] > OK, but are you using Visual Basic .NET? I think what you've discovered is
> part of the backward compatibility (to VB 6) library, whereas I was
> pointing
Microsoft.VisualBasic is *NOT* part of the compatibility library. It is an
integral part of the VB.NET itself!
Microsoft.VisualBasic.Compatibility is the compatibility library.
I agree, learning .NET & VB.NET is the way to go. Microsoft.VisualBasic is
an integral part of VB.NET, so I recommend learning it and using it where &
when it makes sense.
Hope this helps
Jay
[quoted text, click to view] "Peter van der Goes" <p_vandergoes@toadstool.u> wrote in message
news:OCGTOWiEFHA.624@TK2MSFTNGP09.phx.gbl...
>
> "JMorrell" <JMorrell@discussions.microsoft.com> wrote in message
> news:3C17B754-171F-449A-AD80-353C168363C9@microsoft.com...
>> Thanks for the quick reply. I actually found what I was looking for
>> after
>> all.
>>
>> Microsoft.VisualBasic.Left(string, n) give the first n characters of a
>> string.
>>
>> I used:
>>
>> dim strLeft As String
>>
>> strLeft = Microsoft.VisualBasic.Left(String, 2)
>>
>> and was able to pare out the needed first 2 characters of my string.
>>
>> This is Sunday, shouldn't you be off doing other things besides this? :)
>>
>> Thanks again for your help.
>> JMorrell
>>
> OK, but are you using Visual Basic .NET? I think what you've discovered is
> part of the backward compatibility (to VB 6) library, whereas I was
> pointing you at the .NET Framework class and methods applicable to String
> objects.
> Personally, I'd opt to learn the .NET way as that's the future.
> Sunday? The newsgroup thing isn't a job. More of a hobby.
>
> --
> Peter [MVP Visual Developer]
> Jack of all trades, master of none.
>
>