Using MidB, InstrB, lenB in ASP.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gaurav Sharma

    Using MidB, InstrB, lenB in ASP.NET

    Hi guys,
    As most of you must be knowing that people normally used MidB,
    InstrB, lenB functions till VB6 for binary string manipulations.S ince
    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
  • Chris Jackson

    #2
    Re: Using MidB, InstrB, lenB in ASP.NET

    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."

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows Client
    Windows XP Associate Expert
    --
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    --

    "Gaurav Sharma" <Gaurav_Sharma@ KeaneIndia.com> wrote in message
    news:97f142df.0 312042223.6f6b0 407@posting.goo gle.com...[color=blue]
    > Hi guys,
    > As most of you must be knowing that people normally used MidB,
    > InstrB, lenB functions till VB6 for binary string manipulations.S ince
    > 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[/color]


    Comment

    • Gaurav Sharma

      #3
      Re: Using MidB, InstrB, lenB in ASP.NET


      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.


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...