StrPos/stristr

From: Date: Tue, 04 Mar 2003 09:18:49 +0000
Subject: StrPos/stristr
Groups: php.general 
Request: Send a blank email to php-general+get-138059@lists.php.net to get a copy of this message
http://www.php.net/manual/en/function.stristr.php http://www.php.net/manual/en/function.strpos.php Input from a <textarea name=something> I want to scan endless lines of $something. If the First Three characters of any line begin with "au:" (case insensitive) I want to filter out that line, and let $au = that line of text up to but not including the \n. I was lo0oking at StrPos & stristr. They don't quite do it do they? Then how do I? John

« previous php.general (#138059) next »