Can a person use preg_replace to add tags around the first character in a string?
Something like $message = preg_replace(%, <big>%</big>, $message, 1); ?
I've never used this function so I'm not sure about what it can and cannot do. I know the syntax for that statement isn't correct, just out there so you know what I mean.
Something like $message = preg_replace(%, <big>%</big>, $message, 1); ?
I've never used this function so I'm not sure about what it can and cannot do. I know the syntax for that statement isn't correct, just out there so you know what I mean.