Hello Christian,

Monday, March 29, 2004, 10:28:53 AM, you wrote:

CC> maby I am missing something, but I am trying to find a way to find the N
CC> position/character in a String of a regular expression match. For example,
CC> if I look for the pattern "abba" in 200 character length string, I would
CC> like to know where, at what position that match was made. Any ideas? Thanks

Why use a regular expression?
strpos() will do this just fine.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to