Using MidB, InstrB, lenB in ASP.NET

G

Gaurav Sharma

Hi guys,
As most of you must be knowing that people normally used MidB,
InstrB, lenB functions till VB6 for binary string manipulations.Since
now these functions are not available in VB.NET, I want to achieve the
same in VB.NET.Could any one can tell me How I can achieve the same
functionality of MidB, InstrB, lenB in VB.NET. Help would be highly
appreciated.

Thanks in Advance,
-Gaurav Sharma
 
C

Chris Jackson

From MSDN:

"Note The MidB statement of earlier versions of Visual Basic replaces a
substring in bytes, rather than characters. It is used primarily for
converting strings in double-byte character set (DBCS) applications. All
Visual Basic .NET strings are in Unicode, and MidB is no longer supported."
 
G

Gaurav Sharma

Chris,
The note which you have sent is already in my knowledge.I was
asking for the work around in ASP.NET.I wanted to establish the same in
ASP.NET whatever MidB, InstrB and LenB does in ASP.

Thanks,
-Gaurav.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top