RevInstr equivalent?

  • Thread starter Thread starter aliennation
  • Start date Start date
A

aliennation

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
 
I think you mean InstrRev. It's still in VB.NET. I use it all the time.
 
Now that's funny. :^)

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

Greg
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top