By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

RevInstr equivalent?

P: n/a
Does anyone know of an easy way to achieve an equivalent of the old
'RevInstr ' command in Dot Net? I'm try to go 'native' and so I avoid
using Microsoft.VisualBasic, but this command doesn't even seem to be
in the Microsoft.VisualBasic name space.

Tim
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I think you mean InstrRev. It's still in VB.NET. I use it all the time.

"aliennation" <al*********@hooya.com> wrote in message
news:c2********************************@4ax.com...
Does anyone know of an easy way to achieve an equivalent of the old
'RevInstr ' command in Dot Net? I'm try to go 'native' and so I avoid
using Microsoft.VisualBasic, but this command doesn't even seem to be
in the Microsoft.VisualBasic name space.

Tim

Nov 20 '05 #2

P: n/a
Now that's funny. :^)

If you don't want to use VB namespace, there is also the LastIndexOf method
of the string class.

Greg

"Clark Stevens" <cy*********@hotmail.com> wrote in message
news:cU*******************@twister.nyroc.rr.com...
I think you mean InstrRev. It's still in VB.NET. I use it all the time.

"aliennation" <al*********@hooya.com> wrote in message
news:c2********************************@4ax.com...
Does anyone know of an easy way to achieve an equivalent of the old
'RevInstr ' command in Dot Net? I'm try to go 'native' and so I avoid
using Microsoft.VisualBasic, but this command doesn't even seem to be
in the Microsoft.VisualBasic name space.

Tim


Nov 20 '05 #3

P: n/a
Greg,
If you don't want to use VB namespace, there is also the LastIndexOf method of the string class.

I do not like this answer because why would you not use good tools which are
continuing parts of the Net framework.

However it could be, when you do not want to use the at 1 starting indexer
you etc.....

Cor
Nov 20 '05 #4

P: n/a
Hi Greg,

Missing was the :-)

Cor
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.