Results 1 to 3 of 3

Thread: Find In String - HELP PLEASE

  1. #1

    Thread Starter
    Junior Member Kamu's Avatar
    Join Date
    Dec 2002
    Posts
    24

    Find In String - HELP PLEASE

    hi
    I need to find out how to find something in a string.
    eg.
    $fred = "cheese bill green"

    If "cheese" is in $fred then do something..

    basicly, the InStr function on Visual Basic.
    thanks guys
    Kamu


  2. #2

    Thread Starter
    Junior Member Kamu's Avatar
    Join Date
    Dec 2002
    Posts
    24
    thanks to all you who helped me find out
    function : strstr
    Kamu


  3. #3
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    strstr() is case-sensitive, use stristr() for case-insensitive

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