Results 1 to 9 of 9

Thread: again , VB.NET equivalent??[Resolved]

Threaded View

  1. #1

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

    again , VB.NET equivalent??[Resolved]

    What's the equivalent of InStr that accepts (string, string) and return an integer specifying the start position of the first occurrence of one string within another. I had a look at Compare methods but it didn't help much .


    VB Code:
    1. Dim lNullPos As Integer
    2. Dim sBuffer As String
    3.  
    4. lNullPos = InStr(sBuffer, vbNullChar)
    Last edited by Pirate; Jul 26th, 2003 at 07:06 PM.

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