Results 1 to 2 of 2

Thread: string functions

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    string functions

    whenever i used instr() or left() right() mid() etc, i get a "invalid procedure call"

    no idea whats going on...

    VB Code:
    1. For i = 0 To Len(strSource) Step 1
    2.         If Mid(strSource, i, 1) = Left(strSearch, 1) Then
    3.             For j = 0 To Len(strSearch) Step 1
    4.            
    5.             Debug.Print j + i
    6.             Debug.Print Mid(strSource, j + i, 1)
    7.             Debug.Print Mid(strSearch, j, 1)
    8.            
    9.                 If Mid(strSource, j + i, 1) <> Mid(strSearch, j, 1) Then
    10.                     isitthere = False
    11.                 End If
    12.                
    13.                 If j = Len(strSearch) Then
    14.                     isitthere = True
    15.                 End If
    16.                
    17.             Next j
    18.         End If
    19.     Next i

    id use instr() but i keep getting errors with that, and now i get errors with mid() and left()

    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  2. #2

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    alright cool, worked, thanks
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

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