find string position using reg exp

From: Date: Mon, 29 Mar 2004 09:28:53 +0000
Subject: find string position using reg exp
Groups: php.general 
Request: Send a blank email to php-general+get-181669@lists.php.net to get a copy of this message
Hi, maby I am missing something, but I am trying to find a way to find the N position/character in a String of a regular expression match. For example, if I look for the pattern "abba" in 200 character length string, I would like to know where, at what position that match was made. Any ideas? Thanks Christian

« previous php.general (#181669) next »