> > when using the instr()function i can check for a space by gong " " but how
> > do i check for a number or letter not a particular number but just go to
[quoted text clipped - 7 lines]
> for instance
> mystring.remove(1,to end )
The version of VB that this newsgroup caters to does not have a "remove"
function; and if we were to dummy up a home-brewed function, it would never
be called with the syntax you showed. You must believe us when we tell you
this is the wrong newsgroup to post VB.NET questions in.
The main problem with asking VB.NET questions here is if you get a VB
Classic person (the **huge** majority of participants here) to answer your
question, that answer would more than likely be the wrong way to do whatever
you are asking about in VB.NET... even if it happens to work at all. There
is some backward tolerance for "old" code, but VB.NET has newer ways to
replace them, ways that are faster and more efficient for VB.NET to perform.
If you use the "old" ways in VB.NET, your programs will suffer. In other
cases, VB.NET won't be able to handle the "old" code at all. For example,
this VB6 statement won't work in VB.NET
Dim SomeArray(100 To 150) As String
(I declared the Type as String, but any Type would do.) Also, VB6'ers make a
lot of use of Control Arrays... VB.NET doesn't have them. Of course, there
are ways to implement these concepts in VB.NET, but a regular VB6 programmer
won't post them for you because, quite simply, they simply don't know them.
You really will be doing yourself a disservice if you follow, or even
**try** to follow, the advice you will receive here.
Rick