View Single Post
Old 05-27-2009, 05:30 PM  
DigitalPimp
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Los Angeles, CA
Posts: 512
Quote:
Originally Posted by CS-Jay View Post
who don't you do a print_r($matchedtext) to see what's in there?
print_r($matchedtext) returns:

Array ( [0] => a [1] => a [2] => [3] => )

My understanding is matchedtext[0] is supposed to return the complete string matched, matchedtext[1] is supposed to return the substring which starts at the first left parenthesis, matchedtext[2] the next and so on. For some reason matchedtext[2] is not returning the letter "c" as I would expect.
DigitalPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote