Results 1 to 3 of 3

Thread: VB.NET equivalent??[Resolved]

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    VB.NET equivalent??[Resolved]

    What is the .NET version that accept two param as (string , integer) and does the same job .

    VB Code:
    1. Dim sBuffer As String
    2. sBuffer = VB.Left(sBuffer, lNullPos - 1)
    Last edited by Pirate; Jul 24th, 2003 at 10:33 AM.

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    i dont quite follow if you want the Left equivalent , but here's an example ( you use SubString in .net rather than Left )
    VB Code:
    1. Dim sBuffer As String = "some text".Substring(0, 4)
    2.  
    3.         MessageBox.Show(sBuffer)
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Thank You .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width