473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

RevInstr equivalent?

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
4 4684
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
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
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
Hi Greg,

Missing was the :-)

Cor
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: John | last post by:
Is there an equivalent of COM on Linux that I can get through Python. My need is to have some sort of language independent component framework. I can think of CORBA but I have to have a server...
2
by: Michael Foord | last post by:
Please pardon my ignorance on this one - but I'm not certain how the sign bt is treated in python bitwise operators. I've trying to convert a javascript DES encryption routine into python. ...
3
by: Robert Dodier | last post by:
Hello, Here's a thought that I'm sure has already occurred to someone else, I just can't find any record of it yet. An XML document is just a more verbose and clumsy representation of an...
1
by: Vannela | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
6
by: Frank Rachel | last post by:
So I can focus on the correct areas of research, I was wondering if someone could give me the .NET equivelents for this J2EE architecture: JSP's make calls to local JavaBean Controls. The...
7
by: Tim Conner | last post by:
Hi, I am an ex-delphi programmer, and I having a real hard time with the following simple code (example ): Which is the equivalent to the following code ? var chars : PChar; sBack, s :...
10
by: karch | last post by:
How would this C# contruct be represented in C++/CLI? Or is it even possible? PolicyLevel level = (enumerator->Current) as PolicyLevel; Thanks, Karch
9
by: Alan Silver | last post by:
Hello, I'm converting some old VB6 code to use with ASP.NET and have come unstuck with the Asc() function. This was used in the old VB6 code to convert a character to its ASCII numeric...
14
by: grid | last post by:
Hi, I have a certain situation where a particular piece of code works on a particular compiler but fails on another proprietary compiler.It seems to have been fixed but I just want to confirm if...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.