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
 
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
 
Back
Top